// Demo by Makerbotspace
// While clear is not working filling the display with spaces will
#include <Arduino.h>
#include <Wire.h>
#include <MicroLCDpro.h>
extern int8_t rst_RST; // BUGBUG: pull from library the reset pin number
//LCD_SH1106 lcd; /* for SH1106 OLED module */
LCD_SSD1306 lcd; /* for SSD1306 OLED module */
void setup()
{
lcd.begin();
lcd.clear(); // makes a buch of dots?
// Cheat print to the entire screen making it "clear"
lcd.setFontSize(FONT_SIZE_SMALL);
lcd.println(" ");
//lcd.setFontSize(FONT_SIZE_LARGE);
lcd.setCursor(0, 0);
lcd.println("Time waits for No Man");
lcd.println("");
lcd.setFontSize(FONT_SIZE_LARGE);
lcd.println(" Tuesday");
lcd.println(" 10:45 PM");
lcd.println(" Dec 2 2014");
}
void loop()
{
delay(60000);
}