VMA453
V. 01
–
06/05/2020
6
©Velleman nv
void loop(void)
{
int16_t adc0; // we read from the ADC, we have a sixteen bit integer as a result
adc0 = ads.readADC_SingleEnded(0);
Voltage = (adc0 * 0.1875)/1000;
Serial.print("AIN0: ");
Serial.print(adc0);
Serial.print("\tVoltage: ");
Serial.println(Voltage, 7);
Serial.println();
delay(1000);
}
Use this device with original accessories only. Velleman nv cannot be held
responsible in the event of damage or injury resulting from (incorrect) use of this
device. For more info concerning this product and the latest version of this manual,
please visit our website www.velleman.eu. The information in this manual is subject
to change without prior notice.
© COPYRIGHT NOTICE
The copyright to this manual is owned by Velleman nv. All worldwide rights reserved.
No part of this manual may be copied, reproduced, translated or reduced to any electronic
medium or otherwise without the prior written consent of the copyright holder.
Summary of Contents for VMA453
Page 1: ...VMA453 USER MANUAL 2...