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/globals.h
- Revision:
- 6:39442d493098
- Parent:
- 4:db38665c3727
- Child:
- 7:860b3a8275cb
--- a/inc/globals.h Sat Dec 01 00:08:53 2018 +0000 +++ b/inc/globals.h Mon Dec 03 01:03:14 2018 +0000 @@ -29,6 +29,13 @@ #ifndef GLOBALS_H #define GLOBALS_H +#define DEBUG_TEST 1 +#ifdef DEBUG_TEST +#define DEBUG 1 +#else +#define DEBUG 0 +#endif + #define TRUE 1 #define FALSE 0 @@ -38,15 +45,23 @@ #define ON 1 #define OFF 0 +#define UPDATE_REFRESH_DELAY_US 500000.0 + +#define DATA_ROW 1 + #define BOARD_ENABLE_DELAY_MS 50 #define ALLON 0x1FFF const int allon[] = {1,1,1,1, 1,1,1,1, 1,1,1,1, 1,1,1,1}; #define ALLOFF 0x0000 +const int alloff[] = {0,0,0,0, 0,0,0,0, 0,0,0,0, 0,0,0,0}; #define MAX_BOARDS 12 #define MAX_REGISTERS 1 +#define WEIGHT_BIN_WIDTH 5 +#define BOARDS_THERMCODE_WIDTH MAX_BOARDS + extern int menuLevel; #define LEVEL_MAIN 0