Example #1
0
 //Threaded function that will keep checking whether
 // a servo can and should move.
 private void ServoThreadLoop()
 {
     while (true)
     {
         _worldGrid.DrawGrid();
         DrawPeople();
         CheckServos();
         Thread.Sleep(500);
     }
 }