Exemplo n.º 1
0
 private void BroadcastIrUpdate()
 {
     RobotState.SetIrDistance(_irSensor.ReadDistance());
     Thread.Sleep(_delay);
 }