Difference between revisions of "Microduino-Module OLED"
From Microduino Wiki
(→Applications) |
(→Applications) |
||
Line 58: | Line 58: | ||
*put your downloaded library in to libraries within Arduino IDE installation folder, If open Arduino IDE, please close all other example program before you open example program within u8glib library; | *put your downloaded library in to libraries within Arduino IDE installation folder, If open Arduino IDE, please close all other example program before you open example program within u8glib library; | ||
− | * | + | *Open the HelloWorld sample program, cancel comment for this line: U8GLIB_SSD1306_128X64 u8g (U8G_I2C_OPT_NONE) (remove "/ /"), the compiler can be downloaded directly through after the download is complete, then "Hello World!" Is displayed on the screen; |
− | * | + | *Display character / variables: |
− | * | + | *Use u8g.print (xx) function can be, usage are basically as same as Serial.print (xx). |
− | * | + | *Change the font: |
− | *u8g.setFont(xx) | + | *Use u8g.setFont (xx) function to change the font, parentheses "xx" can be replaced by the corresponding font library name (you can search font library in u8g.h within U8glib \ utility folder); |
− | * | + | *Recommended large font: u8g_font_7x13, recommended font: u8g_font_fixed_v0r, recommended small fonts: u8g_font_chikitar; |
− | * | + | *Change coordinates: |
− | * | + | *Use u8g.setPrintPos (x, y) function, if you want to change the display coordinates |
− | * | + | *Screen Rotation: |
− | * | + | *Comment u8g.setRot180() in void setup() function, you flip the screen 180 degrees, you can also change 180 to 90,270; |
|- | |- |
Revision as of 05:08, 21 January 2014
Microduino-Oled 12864 is based SSD1306 0.96 inch 12864 OLED display module. Using the I2C interface, 3.3V power supply.
|
ContentsFeatures
|
Specifications
|
DocumentsEagle PCB File:Microduino-Oled.zip main components
|
Development
|
Applicationsbasic usage sample program of u8glib library Note:core's IIC interface is A4(SDA),A5(SCL),core+'s IIC interface is D20(SDA),D21(SCL)
|
Buy |
History
|
Pictures
|