• Home
  • pcDuino
  • WiKi
  • Store
  • Distributors
  • Home
  • pcDuino
  • WiKi
  • Store
  • Distributors
HomepcDuinoArduino-ish ProgramI2CLinker OLED For pcDuino
Previous Next

Linker OLED For pcDuino

Posted by: admin , August 10, 2014

[vc_row][vc_column][vc_column_text]

图片1

Linker OLED module is an OLED display measured at  0.96 ” and with a  resolution of  128 x 64. It communicates with the host through IIC interface. It is of  high brightness, wide view angle, low power consumption, and small form factor.

[/vc_column_text][/vc_column][/vc_row][vc_row][vc_column width=”1/1″][vc_tour][vc_tab title=”Feature” tab_id=”1407728111-1-35″][vc_column_text]

  1. Communication interface: IIC
  2. Driver IC: SSD1306
  3. Working voltage: 3.3 V  ~  5.5 V
  4. Working temperature: – 30 ℃ ~ 70 ℃
  5. Display color: mono color ( blue)

[/vc_column_text][/vc_tab][vc_tab title=”Part List” tab_id=”1407728111-2-41″][vc_column_text]

  • 1  x  pcDuinoV3
  • 1  x  Linker OLED Module
  • 1  x  Linker Base Shield
  • 1  x  Linker Cable

[/vc_column_text][/vc_tab][vc_tab title=”Test Code” tab_id=”1407728200501-2-0″][vc_column_text]

#include <core.h>
#include "Wire.h"
#include "linker_oled.h"


void setup()
{
  Wire.begin();
  linkeroled.init();  

  linkeroled.clearDisplay();          //clear the screen and set start position to top left corner
  //linkeroled.setNormalDisplay();      //Set display to normal mode (i.e non-inverse mode)
  linkeroled.setInverseDisplay();     //Set display to inverse mode 
  linkeroled.setPageMode();           //Set addressing mode to Page Mode
  linkeroled.setTextXY(3,3);          //Set the cursor to Xth Page, Yth Column  
  linkeroled.putString("Hello world"); //Print the String
  
  linkeroled.setTextXY(6,5);          //Set the cursor to Xth Page, Yth Column  
  linkeroled.putString("pcDuino"); //Print the String
}

void loop()
{
  
}

[/vc_column_text][/vc_tab][vc_tab title=”Test Result” tab_id=”1407728202167-4-1″][vc_column_text]

1. )Wiring according to the following:

LinkerOLED – SDA   –>    pcDuino3 – SDA

LinkerOLED – SCL   –>    pcDuino3 – SCL

LinkerOLED – VCC   –>    pcDuino3 – 3.3V

LinkerOLED – GND   –>    pcDuino3 – GND

图片2

 2. Donwload the attachment text code, then open the Arduino IDE, compile and run.

图片3

 3. Text result.

图片4

图片5

[/vc_column_text][/vc_tab][vc_tab title=”Download” tab_id=”1407728201410-3-2″][vc_column_text]Linker OLED_pcDuino[/vc_column_text][/vc_tab][/vc_tour][/vc_column][/vc_row]

Tags: I2C

Share!
Tweet

admin

About the author

Comments are closed.

Category

  • Home
  • pcDuino
  • WiKi
  • Store
  • Distributors