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/main.cpp
- Revision:
- 4:db38665c3727
- Parent:
- 3:d8948c5b2951
- Child:
- 5:09be5bbb5020
--- a/src/main.cpp Tue Nov 27 17:47:57 2018 +0000 +++ b/src/main.cpp Thu Nov 29 00:07:25 2018 +0000 @@ -40,10 +40,12 @@ unsigned int boardsActive; unsigned int v48, v24, v12; // Voltage divide ratio is a little low due to substituting 10k resistors in place of the 100k. The 100k caused the opamps to oscillate. unsigned int i48, i24, i12; +unsigned int binCode[6]; +unsigned int thermCode[17]; int main() { - int stopExecuted = 0; + //int stopExecuted = 0; extchlat = OFF; setBoardEnables(ALLOFF); @@ -61,6 +63,13 @@ while (1) { processCommand(); + + if(running){ + getADCvolts(); + getADCamps(); + updateControls(); + } + //myled = 1; //wait(1.0); //myled = 0;