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: src/adc.cpp
- Revision:
- 1:bc3509459a27
- Parent:
- 0:b3410a1e9843
--- a/src/adc.cpp Thu Jan 27 21:58:14 2022 +0000 +++ b/src/adc.cpp Tue Dec 06 18:47:01 2022 +0000 @@ -45,10 +45,10 @@ *******************************************************************************/ struct adcValues getADCresults(void){ - unsigned int v48x = 0; - unsigned int v12x = 0; - unsigned int i12x = 0; - unsigned int test_vx = 0; + double v48x = 0; + double v12x = 0; + double i12x = 0; + double test_vx = 0; struct adcValues avals; unsigned int loopCounter = LOOP_COUNTER;