Write the OLED(using I2C)
Dependencies: Adafruit_GFX mbed
Fork of I2C_SSD1306_Helloworld_WIZwiki-W7500 by
Diff: main.cpp
- Revision:
- 10:abbd34fe7ce1
- Parent:
- 9:a6021ca48d2e
- Child:
- 11:f4ecb5faeffe
diff -r a6021ca48d2e -r abbd34fe7ce1 main.cpp --- a/main.cpp Wed Aug 05 00:07:56 2015 +0000 +++ b/main.cpp Wed Jan 06 23:59:45 2016 +0000 @@ -1,7 +1,7 @@ #include "mbed.h" #include "Adafruit_SSD1306.h" -DigitalOut myled_R(LED1); +DigitalOut myled_R(LED_RED); // an SPI sub-class that provides a constructed default class I2CPreInit : public I2C