查看“MCookie-OLED”的源代码
←
MCookie-OLED
跳转至:
导航
、
搜索
因为以下原因,您没有权限编辑本页:
您所请求的操作仅限于该用户组的用户使用:
用户
您可以查看与复制此页面的源代码。
{{Language|mCookie-OLED}} {| style="width: 800px;" |- | [[file:mCookie-OLED-rect.jpg|400px|thumb|right|Microduino-OLED]] mCookie-OLED is based on SSD1306 0.96-inch 128*64 OLED display module, adopting the I2C interface and communicating with the core module by connecting to IIC interface of [[mCookie-Hub]]. ==Features== *glow actively, own a wide view and need no backlight ; *Low driving voltage and power consumption; *Communicate in a way of I2C and save IO interfaces,widely used;; *Small, cheap, stackable and open; ==Specification== *Resolution:128x64; *Interface: IIC communication; *Voltage:3.3V; [[File:mCookie_OLED-Pinout-1Big1.jpg|800px|thumb|center]] ==Document== ==Development== *Build mCookie development environment: [[MCookie-CoreUSB_Getting_started]]。 *Open Arduino IDE, select "Microduino-CoreUSB" under "ools->Board". [[File:OLED-Board.jpg|600px|thumb|center|Board]] *Open IDE and find "_01_Microduino_OLED_U8glib " examples under " File->Examples ". [[File:mCookie_OLED-_01_Microduino_OLED_U8glib.jpg|800px|thumb|center|_01_Microduino_OLED_U8glib]] ==Project== ===u8glib Library Program Examples=== *Open Arduino IDE, click "HelloWorld"under " File->Examples->_01_Microduino_OLED_U8glib " and open program examples. [[File:OLED-_01_Microduino_OLED_U8glib.jpg|800px|thumb|center]] *Download after compiling and you'll see "HelloWorld!" on the screen. *Display character/variable: **Use u8g.print(xx) function just the same way like Serial.print(xx). *Change font: **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); **Large font is recommended for u8g_font_7x13, middle font for u8g_font_fixed_v0r and small font for u8g_font_chikitar; *Change coordinates: **Use u8g.setPrintPos (x, y) function to change the display of coordinates *Screen Rotation: **Post u8g.setRot180() in void setup() function, the screen will be flipped to 180-degree, you also can change 180 to 90,270; '''Users can open other program examples and see the result. '''Other Projects:''' [[OLED Application]] ==F&Q== *What is the voltage of the power supply? **3.3V。 ==Purchase== [[file:MCookie-OLED-T.jpg|thumb|600px|center|mCookie-OLED-Front]] [[file:MCookie-OLED-B.jpg|thumb|600px|center|mCookie-OLED-Back]] ==Video== |}
该页面使用的模板:
模板:Language
(
查看源代码
)
模板:Nmbox
(
查看源代码
)
返回至
MCookie-OLED
。
导航菜单
个人工具
创建账户
登录
名字空间
页面
讨论
变种
视图
阅读
查看源代码
查看历史
更多
搜索
Welcome
首页
创客大赛
大赛详情
3D打印
安装月球车
图形化编程
操控月球车
升级月球车
编程工具下载
软件下载
Arduino
Processing
Mixly
Scratch
模块套件
Microduino 102
mCookie 102
mCookie 202
mCookie 302
IBC
其他
应用套件
四轴飞行器
平衡车
小车CUBE
音乐播放器
刷卡音乐播放器
wifi气象站
彩虹音乐触摸灯
分贝检测仪
迎门汇报
LED点阵时钟
LED点阵屏幕
硬件
mCookie
Sensor
Microduino
MicroWrt
MicroNux
MicroRobot-Core
MicroRobot-CoreESP
ideaBoard
ideaBox
MicroMV
MicroAI
帮助
常见问题
帮助
工具
链入页面
相关更改
特殊页面
页面信息