Ecran OLED du projet SmartCampus
Dependencies: SSD1308_128x64_I2C
main.cpp
- Committer:
- bastienvincke
- Date:
- 2019-08-13
- Revision:
- 9:8da05bf28a07
- Parent:
- 8:8d49c965b3ec
File content as of revision 9:8da05bf28a07:
#include "mbed.h" #include "SSD1308.h" I2C i2c(PB_9,PB_8); // le OLED est connecté sur le port I2C de la carte L073RZ SSD1308 oled = SSD1308(&i2c, SSD1308_SA0); int main() { oled.writeString(0, 0, "Hello World !"); wait(1); }