diff --git a/examples/continuous/continuous.ino b/examples/continuous/continuous.ino index 1d8007d..5592615 100644 --- a/examples/continuous/continuous.ino +++ b/examples/continuous/continuous.ino @@ -61,7 +61,7 @@ void loop(void) int16_t results = ads.getLastConversionResults(); - Serial.print("Differential: "); Serial.print(results); Serial.print("("); Serial.print(ads.computeVolts(results)/1000); Serial.println("mV)"); + Serial.print("Differential: "); Serial.print(results); Serial.print("("); Serial.print(ads.computeVolts(results)); Serial.println("V)"); new_data = false; diff --git a/examples/nonblocking/nonblocking.ino b/examples/nonblocking/nonblocking.ino index fb3d4dc..6d076b0 100644 --- a/examples/nonblocking/nonblocking.ino +++ b/examples/nonblocking/nonblocking.ino @@ -42,7 +42,7 @@ void loop(void) int16_t results = ads.getLastConversionResults(); - Serial.print("Differential: "); Serial.print(results); Serial.print("("); Serial.print(ads.computeVolts(results)/1000); Serial.println("mV)"); + Serial.print("Differential: "); Serial.print(results); Serial.print("("); Serial.print(ads.computeVolts(results)); Serial.println("V)"); // Start another conversion. ads.startADCReading(ADS1X15_REG_CONFIG_MUX_DIFF_0_1, /*continuous=*/false);