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

pin map

OLED (from WIZnet)

/media/uploads/stkim92/oled.png

Wiring Table

OLEDW7500
SCLPA_9
SDAPA_10
GNDGND
VCCVCC

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

Download repository: zip gz

Files at revision 2:e624abf0f696

Name Size Actions
[up]
Adafruit_GFX.lib 71 Revisions Annotate
main.cpp 837 Revisions Annotate
mbed-dev.lib 65 Revisions Annotate