I used the library and graphics Adafruit_GFX Adafruit_SSD1306 I made the Arduino platform used as serial terminal
and the characters received atravez a mini OLED screen, this is only the first part of a slightly more complex project with Arduino and ESP8266 module.
It just wants to show what comes from the serial port on a Oled screen ....
Step 1: Components and Materials Required for Testing
Step 2: Código
They have been used Adafruit_GFX libraries and Adafruit_SSD1306 excellent for graphics applications screens with I2C and SPI protocol, the code does the following things:
1 configuration of the I2C Oled screen.
2 Make serial port settings
3 The screen is initialized and the characters of the serial port are stored in a variable and then the values are printed on the screen.
Blog PDAControl English
Git Hub Code with End line..
More info. JhonValenciaPDAcontrol
Step 3: Testing
character printing serial port works correctly, the only drawback restart the realization of the screen because the print area on the screen ends and does not return to the position display.setCursor 0.0 (0.0); to fill the amount of carateres on the screen.