Exemple #1
0
 public static void PingAll()
 {
     HALSimAccelerometerData.Ping();
     HALSimAnalogGyroData.Ping();
     HALSimAnalogInData.Ping();
     HALSimAnalogOutData.Ping();
     HALSimAnalogTriggerData.Ping();
     HALSimDigitalPWMData.Ping();
     HALSimDIOData.Ping();
     HALSimEncoderData.Ping();
     HALSimPCMData.Ping();
     HALSimPWMData.Ping();
     HALSimRelayData.Ping();
     HALSimRoboRioData.Ping();
     HALSimSPIAccelerometerData.Ping();
 }
Exemple #2
0
 /// <summary>
 /// Creates a new PWM Speed controller for the Sim to use.
 /// </summary>
 /// <param name="port">The PWM port the Speed controller is attached to.</param>
 public SimPWMController(int port)
 {
     PWMData = SimData.PWM[port];
 }