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:
- 18:06b718f8e6fd
- Parent:
- 8:8430a5c0914c
- Child:
- 20:294eaeaf2ebb
--- a/main.h Wed May 28 23:15:05 2014 +0000
+++ b/main.h Thu Jun 05 19:09:07 2014 +0000
@@ -1,7 +1,7 @@
#define SYNC_HOLD_TIME_MS 1000
#define DEBOUNCE_TIME_MS 200
-#define USE_OLED
+//#define USE_OLED
#ifdef USE_OLED
#define OLED_SETCURS(xpos,ypos) oled.setCursor(xpos,ypos);
#define OLED_CLEAR() oled.clearDisplay();
@@ -22,7 +22,8 @@
#define OLED_PRINTPFR(x,y,xpos,ypos) oled.setCursor(xpos,ypos); oled.printf(x,y); oled.printf("\r"); oled.display();
#else
#define OLED_SETCURS(xpos,ypos)
-
+ #define OLED_CLEAR()
+
#define OLED_PRINT(x)
#define OLED_PRINTF(x,y)
#define OLED_PRINTLN(x)