Ecran OLED du projet SmartCampus
Dependencies: SSD1308_128x64_I2C
Diff: main.cpp
- Revision:
- 8:8d49c965b3ec
- Parent:
- 7:ae282775cbcc
- Child:
- 9:8da05bf28a07
--- a/main.cpp Thu Jan 01 17:54:33 2015 +0000 +++ b/main.cpp Mon Dec 18 18:46:21 2017 +0000 @@ -5,6 +5,7 @@ * Released under the MIT License: http://mbed.org/license/mit * * version 0.2 Initial Release + * version 0.3 2017 Fixed non-copyable issue (Thx kenjiArai) */ #include "mbed.h" #include "mbed_logo.h" @@ -45,7 +46,7 @@ Serial pc(USBTX, USBRX); // tx, rx // Instantiate OLED -SSD1308 oled = SSD1308(i2c, SSD1308_SA0); +SSD1308 oled = SSD1308(&i2c, SSD1308_SA0); void show_menu() { pc.printf("0: Exit\r");