Ejemplo n.º 1
0
 public void SetPort(MuxChannel eMuxChannel)
 {
     //For use with Jagged Arrays...
     for (int i = 0; i < 4; i++)
     {
         DigitalPins[i].Write(MuxChannels[(int)eMuxChannel][i] == 0 ? false : true);//any non zero value is true...
     }
 }
 public void SetPort(MuxChannel eMuxChannel)
 {
     //For use with Jagged Arrays...
     for (int i = 0; i < 4; i++)
         DigitalPins[i].Write(MuxChannels[(int)eMuxChannel][i] == 0 ? false : true);//any non zero value is true...
 }