This demo will read the Voltage and Current from the "AttoPilot Voltage and Current Sense Board," convert the raw ADC data to Volts and Amps and display them as floating point numbers on the Serial Enabled LCD. (If you would like to do without the Serial LCD, I have included commented code for reading the results through the Serial Terminal.)

Dependencies:   mbed

Auto generated API documentation and code listings for AttoPilotSense

Code

main.cpp [code]