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:
- 10:6c3233b03658
- Parent:
- 9:816b9a4e4f21
- Child:
- 11:01dcfb29fbc4
--- a/src/main.cpp Fri Dec 07 00:15:19 2018 +0000
+++ b/src/main.cpp Fri Dec 07 17:39:01 2018 +0000
@@ -42,9 +42,9 @@
unsigned int boardMults;
unsigned short 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 short i48, i24, i12;
-unsigned int binCode[6];
+unsigned int binCode[WEIGHT_BIN_WIDTH+1];
+unsigned int thermCode[BOARDS_THERMCODE_WIDTH+1];
unsigned int en_out_code;
-unsigned int thermCode[17];
unsigned int wr_out_code;
unsigned int commandData;
unsigned short my12=0;
@@ -109,7 +109,7 @@
updateControls(i12);
//count++;
}else{
- XupdateControls(my12);
+ updateControls(my12);
}
//myled = 1;