Arduino Blog #6 interfacing the oled 0.91 display
Arduino Microcontroller board
Type B usb cable
PC
Jumper wires
When the download is finished, un-zip it and open up the Arduino folder to confirm that click yes, there are some files and sub-folders inside. The file structure is important so don’t be moving any files around unless you really know what you’re doing.
download the library here: https://github.com/olikraus/u8g2
#include <Arduino.h>
#include <U8g2lib.h>
#include <SPI.h>
#include <Wire.h>
U8G2_SSD1306_128X32_UNIVISION_F_HW_I2C u8g2(U8G2_R0);
void setup(void) {
u8g2.begin();
}
void loop(void) {
u8g2.clearBuffer();
u8g2.setFont(u8g2_font_logisoso28_tr);
u8g2.drawStr(8,29,"STEEMIT");
u8g2.sendBuffer();
delay(4000);
u8g2.clearBuffer();
u8g2.setFont(u8g2_font_logisoso28_tr);
u8g2.drawStr(8,29," BUSY");
u8g2.sendBuffer();
delay(4000);
u8g2.clearBuffer();
//u8g2.setFont(u8g2_font_logisoso28_tr);
u8g2.setFont(u8g_font_unifont);
u8g2.drawStr(4,22,"STEEMMAKERS");
u8g2.sendBuffer();
delay(4000);
u8g2.clearBuffer();
//u8g2.setFont(u8g2_font_logisoso28_tr);
u8g2.setFont(u8g_font_unifont);
u8g2.drawStr( 0, 22, "@lapilipinas!");
u8g2.sendBuffer();
delay(4000);
}
Join our Discord Channel to connect with us and nominate your own or somebody else's posts in our review channel.
Help us to reward you for making it ! Join our voting trail or delegate steem power to the community account.
Your post is also presented on the community website www.steemmakers.com where you can find other selected content.
If you like our work, please consider upvoting this comment to support the growth of our community. Thank you.