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: Adafruit_GFX_128x64 DS3231 PinDetect SDFileSystem USBDevice mbed RealtimeMath MODSERIAL
Diff: main.h
- Revision:
- 5:7c2e7d657716
- Parent:
- 0:cd1fe4f0ed39
- Child:
- 6:3b9b4e2c29bf
diff -r b962f5a783a1 -r 7c2e7d657716 main.h --- a/main.h Mon May 12 18:52:45 2014 +0000 +++ b/main.h Wed May 14 03:14:57 2014 +0000 @@ -1,25 +1,3 @@ -#define DMP_ERROR_RATE 1 -#define SD_ERROR_RATE 2 - -#define LOG_FILE "/sd/data.log" - -//#define PC_DEBUG -#ifdef PC_DEBUG - #define PC_PRINT(x) pc.printf("%s", x); - #define PC_PRINTF(x,y) pc.printf(x, y); - #define PC_PRINTLN(x) pc.printf("%s\r\n", x); - #define PC_PRINTLNF(x,y) pc.printf(x,y); pc.printf("\r\n"); - #define PC_PRINTR(x) pc.printf("%s\r",x); - #define PC_PRINTFR(x,y) pc.printf(x,y); pc.printf("\r"); -#else - #define PC_PRINT(x) - #define PC_PRINTF(x,y) - #define PC_PRINTLN(x) - #define PC_PRINTLNF(x,y) - #define PC_PRINTR(x) - #define PC_PRINTFR(x,y) -#endif - #define OLED_DEBUG #ifdef OLED_DEBUG #define OLED_SETCURS(xpos,ypos) oled.setCursor(xpos,ypos);