コード例 #1
0
 static void Main()
 {
     Thread.Sleep(1000);
     while (true)
     {
         Thread.Sleep(1000);
         lightBulb.TurnBlue();
         counter++;
         Debug.WriteLine("Hello TinyCLR " + counter);
         Thread.Sleep(1000);
         lightBulb.TurnGreen();
     }
 }