예제 #1
0
 private byte[] ReadAdcCommand(AdcCommands adcCommands)
 {
     return(_i2cInterface.WriteRead(_i2cConnectionSettingAdc, 1, Convert.ToByte(adcCommands)));
 }
예제 #2
0
 public byte[] ReadAdc(AdcCommands adcCommands)
 {
     byte[] readAdcInput = ReadAdcCommand(AdcCommands.GET_CH0);
     return(readAdcInput);
 }