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:
- 5:09be5bbb5020
- Parent:
- 4:db38665c3727
- Child:
- 6:39442d493098
--- a/src/main.cpp Thu Nov 29 00:07:25 2018 +0000 +++ b/src/main.cpp Sat Dec 01 00:08:53 2018 +0000 @@ -38,10 +38,12 @@ #include "boards.h" unsigned int boardsActive; +unsigned int boardMults; 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]; +unsigned int commandData; int main() { @@ -51,7 +53,7 @@ setBoardEnables(ALLOFF); setBoardWeights(ALLOFF); // RK: Maybe? Use hex value for boardWeights to highlight that it's an encoded value. - sprintf(strbuf, "\r\nAgility Power Systems DCM1 Rev 0.2"); //RK 10/26/2018 + sprintf(strbuf, "\r\nAgility Power Systems DCM1 Rev 0.3"); //RK 10/26/2018 sendSerial(strbuf); //sendCRLF(); menuPrompt(MENU_DCM1); @@ -67,7 +69,8 @@ if(running){ getADCvolts(); getADCamps(); - updateControls(); + //updateControls(); + //updateControls(my12); } //myled = 1;