Ejemplo n.º 1
0
 /// <summary>
 /// Resets all channel settings to their default values
 /// </summary>
 public void resetChannelSettings()
 {
     for (int i = 0; i < 8; i++)
     {
         channelSettings[i]            = new PwmChannelSettings();
         channelSettings[i].Frequency  = 1000;
         channelSettings[i].DutyCycleS = 0.0005f;
         bitSetStates[i] = (byte)(1 << i);
     }
 }
 /// <summary>
 /// Resets all channel settings to their default values
 /// </summary>
 public void resetChannelSettings()
 {
     for (int i = 0; i < 8; i++)
     {
         channelSettings[i] = new PwmChannelSettings();
         channelSettings[i].Frequency = 1000;
         channelSettings[i].DutyCycleS = 0.0005f;
         bitSetStates[i] = (byte)(1 << i);
     }
 }