Main Site Documentation

Master SPI and N18


#1

:slight_smile:


#2

now, that’s fast SPI.


#3

What is next? Video playback?


#4

Good idea, but I’m already side tracked and onto the next mad idea :smiley:


#5

You should play a video of your board playing a video! That is mad :wall:


#6

@ andre.m - just 5 images from resources…


#7

@ Justin - Is the speed up sequence - the fastest?


#8
for (;;)
            {
                imgBytes = Resources.GetBytes(Resources.BinaryResources._1);
                display_N18.DrawRaw(imgBytes, 128, 160, 0, 0);

                Thread.Sleep(1000);

                imgBytes = Resources.GetBytes(Resources.BinaryResources._2);
                display_N18.DrawRaw(imgBytes, 128, 160, 0, 0);

                Thread.Sleep(1000);

                imgBytes = Resources.GetBytes(Resources.BinaryResources._3);
                display_N18.DrawRaw(imgBytes, 128, 160, 0, 0);

                Thread.Sleep(1000);

                imgBytes = Resources.GetBytes(Resources.BinaryResources._4);
                display_N18.DrawRaw(imgBytes, 128, 160, 0, 0);

                Thread.Sleep(1000);

                imgBytes = Resources.GetBytes(Resources.BinaryResources._5);
                display_N18.DrawRaw(imgBytes, 128, 160, 0, 0);

                Thread.Sleep(1000);

                for (int i = 0; i < 10; i++)
                {
                    imgBytes = Resources.GetBytes(Resources.BinaryResources._1);
                    display_N18.DrawRaw(imgBytes, 128, 160, 0, 0);
                    
                    imgBytes = Resources.GetBytes(Resources.BinaryResources._2);
                    display_N18.DrawRaw(imgBytes, 128, 160, 0, 0);

                    imgBytes = Resources.GetBytes(Resources.BinaryResources._3);
                    display_N18.DrawRaw(imgBytes, 128, 160, 0, 0);

                    imgBytes = Resources.GetBytes(Resources.BinaryResources._4);
                    display_N18.DrawRaw(imgBytes, 128, 160, 0, 0);

                    imgBytes = Resources.GetBytes(Resources.BinaryResources._5);
                    display_N18.DrawRaw(imgBytes, 128, 160, 0, 0);
                }
            }

#9

Cool!