SSD1306_LCD Example for WIZwiki-W7500
Dependencies: Adafruit_GFX mbed-dev
Prerequisite
This example is for OLED test.
To implement this function, you need a Platform board and OLED.
Below are what we used.
- WIZwiki-W7500 from WIZnet (Platform board)
- OLED from WIZnet
Hardware Configuration
WIZwiki-W7500 Pin map
OLED (from WIZnet)
Wiring Table
OLED | W7500 |
SCL | PA_9 |
SDA | PA_10 |
GND | GND |
VCC | VCC |
Software
Define Pins
main.cpp
#if defined(TARGET_WIZwiki_W7500) #define SDA PA_10 #define SCL PA_9 #endif
Set data for OLED
main.cpp
gOled.begin(); gOled.printf("%ux%u OLED Display\r\n", gOled.width(), gOled.height()); gOled.display();
Caution
watchout pins setting
History
Change a mbed-src to mbed-dev;
2017-04-12, by stkim92 [Wed, 12 Apr 2017 23:48:20 +0000] rev 2
Change a mbed-src to mbed-dev;
First Release SSD1306_LCD-HelloWorld
2015-06-25, by kaizen [Thu, 25 Jun 2015 05:29:49 +0000] rev 1
First Release SSD1306_LCD-HelloWorld
Example for LCD
2015-06-23, by kaizen [Tue, 23 Jun 2015 09:49:31 +0000] rev 0
Example for LCD