Important changes to repositories hosted on mbed.com
Mbed hosted mercurial repositories are deprecated and are due to be permanently deleted in July 2026.
To keep a copy of this software download the repository Zip archive or clone locally using Mercurial.
It is also possible to export all your personal repositories from the account settings page.
Dependencies: mbed
Diff: inc/adc.h
- Revision:
- 11:01dcfb29fbc4
- Parent:
- 9:816b9a4e4f21
- Child:
- 15:aed8f326c949
--- a/inc/adc.h Fri Dec 07 17:39:01 2018 +0000 +++ b/inc/adc.h Fri Dec 07 20:42:41 2018 +0000 @@ -29,15 +29,17 @@ #ifndef adc_H #define adc_H +#include "globals.h" #include "mbed.h" -extern unsigned short v48, v24, v12; -extern unsigned short i48, i24, i12; - void initADC(void); -void getADCresults(void); -void getADCvolts(void); -void getADCamps(void); +struct adcValues getADCresults(void); +struct adcValues getADCvolts(void); +struct adcValues getADCamps(void); + +struct displayValues calcDisplayValues(struct adcValues avals); + +extern bool raw; #endif