Blinking “Insert Coin” text on OLED 64×32 with Nerdonic Exen Mini

Description: A tiny OLED connected to a Nerdonic Exen Mini blinks “Insert Coin”.

Insert Coin OLED with Nerdonic Exen Mini

Supplies:

1 – Breadboard 400 Points
1 – Nerdonic Exen Mini
1 – OLED Display 0.49″ 64×32 SSD1306   >> Link <<

Arduino Code:

#include <Arduino.h>
#include <U8x8lib.h>

#ifdef U8X8_HAVE_HW_SPI
#include <SPI.h>
#endif

U8X8_SSD1306_64X32_1F_HW_I2C u8x8(/* reset=*/ U8X8_PIN_NONE);

void setup(void) {

  u8x8.begin();
  u8x8.setPowerSave(0);

}

void loop(void) {

  u8x8.setFont(u8x8_font_chroma48medium8_r);
  u8x8.drawString(1,1,"Insert");
  u8x8.drawString(2,2,"Coin");
  delay(1200);
  
  u8x8.clearDisplay();
  delay(400);
  
}

Leave a Comment

− 2 = 5