示例#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();
 }
示例#2
0
 /// <summary>
 /// Creates a new Sim Analog Output reader.
 /// </summary>
 /// <param name="pin">The analog output pin to use.</param>
 public SimAnalogOutput(int pin)
 {
     m_analogOutData = SimData.AnalogOut[pin];
 }