Console Serial IO con display OLED e seriale asincrona
Dependencies: mbed BufferedSerial AserialIOFuncLib SSD1306 TerminalPlusV2
Fork of SerialIO by
Console Serial IO con display OLED e seriale asincrona
Diff: macroDisp.h
- Revision:
- 21:a867c9454f21
- Parent:
- 17:7c8c37fbec9f
- Child:
- 34:9f52d82995ea
--- a/macroDisp.h Tue Aug 18 21:55:23 2015 +0000 +++ b/macroDisp.h Wed Aug 19 23:45:39 2015 +0000 @@ -125,4 +125,18 @@ case 1: //lcd break; } +} + +void inverseDisp(int disptype) +{ + static bool boolf=0; + switch (disptype) { + case 0: //oled + boolf=!boolf; + oled.set_inverse(boolf); + //oled.update(); + break; + case 1: //lcd + break; + } } \ No newline at end of file