예제 #1
0
파일: Program.cs 프로젝트: Zaar152/Samples
        public static void Main()
        {
            var chain = new NeopixelChain(GpioPin, Size);

            while (true)
            {
                chain.MovePixel();
            }
        }
예제 #2
0
파일: Program.cs 프로젝트: Zaar152/Samples
        public static void Main()
        {
            var chain = new NeopixelChain(GpioPin, Size);

            while (true)
            {
                for (uint i = 0; i < Size; i++)
                {
                    chain[i] = RedColor;
                    chain.Update();
                    chain[i] = BlackColor;
                }
            }
        }