#214 OLED I2C Brick

Overview

有機ELモジュールを使用したBrickです。

I2Cで表示データを制御できます。

Connecting

I2Cコネクタへ接続します。

ER-OLED0.96 Datasheet

Document
ER-OLED0.96 Datasheet

Register

Slave Address
0x3C

Schematic

Library

ライブラリ名:「FaBo 214 OLED EROLED096」

for RapberryPI

Sample Code

上記のArduino Libraryをインストールし、スケッチの例、「FaBo 214 OLED EROLED096」からお選びください。

/**
 @file oled.ino
 @brief This is an Example for the FaBo OLED I2C Brick.

   http://fabo.io/214.html

   Released under APACHE LICENSE, VERSION 2.0

   http://www.apache.org/licenses/

 @author FaBo<[email protected]>
*/

#include <Wire.h>
#include <FaBoOLED_EROLED096.h>

FaBoOLED_EROLED096 faboOled;

void setup() {
  Serial.begin(9600);
  Serial.println("RESET");
  Serial.println();

  faboOled.begin();

  faboOled.showBitmap();
  delay(1000);
  faboOled.clear();
  faboOled.print("Hello! FaBo");
}

void loop() {
  faboOled.setCursor(0, 1);
  faboOled.print(millis() / 1000);
}

Parts

  • 128x96 0.96OLED Module

GitHub

results matching ""

    No results matching ""