コード例 #1
0
        protected void TestHT16K33()
        {
            Console.WriteLine("TestHT16K33...");

            int  index = 0;
            bool on    = true;

            while (true)
            {
                ht16k33.SetLed((byte)index, on);
                ht16k33.UpdateDisplay();
                index++;

                if (index >= 128)
                {
                    index = 0;
                    on    = !on;
                }

                Thread.Sleep(100);
            }
        }
コード例 #2
0
 public override void Show()
 {
     ht16k33.UpdateDisplay();
 }