![](/media/cache/img/default_profile.jpg.50x50_q85.jpg)
Oled I2C SSD1306
Dependencies: SSD1306_128x64_I2C mbed
Fork of DisplayOled1 by
main.cpp
- Committer:
- franni
- Date:
- 2017-05-23
- Revision:
- 1:7195b6d24cf4
- Parent:
- 0:3b87797f65fc
- Child:
- 2:ebb4b427aecc
File content as of revision 1:7195b6d24cf4:
#include "mbed.h" #include "SSD1306.h" #define D_SDA PTE25 #define D_SCL PTE24 I2C i2c(D_SDA, D_SCL); SSD1306 oled = SSD1306(i2c, SSD1308_SA0); int main() { oled.writeString(0, 0, "Universidad Distrital"); // oled.printf("Hello World !"); wait(1); oled.writeString(0, 0, "2017 Digitales II"); }