查看Adafruit SSD1306库的源代码
←
Adafruit SSD1306库
跳转至:
导航
、
搜索
因为以下原因,你没有权限编辑本页:
你刚才请求的操作只对属于该用户组的用户开放:
用户
您可以查看并复制此页面的源代码:
Adafruit_SSD1306 github: [https://github.com/adafruit/Adafruit_SSD1306 Adafruit_SSD1306] {| border="0" cellpadding="10" width="100%" |- |width="60%" valign="top" align="left"| Adafruit_SSD1306 Compatibility -- 兼容性 {|border="1" cellspacing="0" align="center" cellpadding="5" width="700PX" |- |align="center"|MCU |align="center"|Tested Works |align="center"|Doesn't Work |align="center"|Not Tested |align="center"|Notes |- |align="center"|Atmega328 @ 16MHz |align="center"|X |align="center"| |align="center"| |align="center"| |- |align="center"|Atmega328 @ 12MHz |align="center"|X |align="center"| |align="center"| |align="center"| |- |align="center"|Atmega32u4 @ 16MHz |align="center"|X |align="center"| |align="center"| |align="center"| |- |align="center"|Atmega32u4 @ 8MHz |align="center"|X |align="center"| |align="center"| |align="center"| |- |align="center"|ESP8266 |align="center"|X |align="center"| |align="center"| |align="center"|change OLED_RESET to different pin if using default I2C pins D4/D5. |- |align="center"|Atmega2560 @ 16MHz |align="center"|X |align="center"| |align="center"| |align="center"| |- |align="center"|ATSAM3X8E |align="center"|X |align="center"| |align="center"| |align="center"| |- |align="center"|ATSAM21D |align="center"|X |align="center"| |align="center"| |align="center"| |- |align="center"|ATtiny85 @ 16MHz |align="center"| |align="center"|X |align="center"| |align="center"| |- |align="center"|ATtiny85 @ 8MHz |align="center"| |align="center"|X |align="center"| |align="center"| |- |align="center"|Intel Curie @ 32MHz |align="center"| |align="center"| |align="center"|X |align="center"| |- |align="center"|STM32F2 |align="center"| |align="center"| |align="center"|X |align="center"| |} * ATmega328 @ 16MHz : Arduino UNO, Adafruit Pro Trinket 5V, Adafruit Metro 328, Adafruit Metro Mini * ATmega328 @ 12MHz : Adafruit Pro Trinket 3V * ATmega32u4 @ 16MHz : Arduino Leonardo, Arduino Micro, Arduino Yun, Teensy 2.0 * ATmega32u4 @ 8MHz : Adafruit Flora, Bluefruit Micro * ESP8266 : Adafruit Huzzah * ATmega2560 @ 16MHz : Arduino Mega * ATSAM3X8E : Arduino Due * ATSAM21D : Arduino Zero, M0 Pro * ATtiny85 @ 16MHz : Adafruit Trinket 5V * ATtiny85 @ 8MHz : Adafruit Gemma, Arduino Gemma, Adafruit Trinket 3V <br> <font color="orange" size="+2">'''Examples'''</font><br> <br> :-[[ XX]] : :-[[ XX]] : :-[[ XX]] : :-[[ XX]] : <!-- |width="10%" valign="top" align="left"| 空白 --> |width="40%" valign="top" align="left"| <br> <font color="orange" size="+2">'''Adafruit_SSD1306 Reference'''</font><br><br> <font color="dodgerblue" >'''BLACK 0'''</font> <font color="dodgerblue" >'''WHITE 1'''</font> <font color="dodgerblue" >'''INVERSE 2'''</font> - <font color="forestgreen">Adafruit_SSD1306(int8_t SID, int8_t SCLK, int8_t DC, int8_t RST, int8_t CS);</font> - <font color="forestgreen">Adafruit_SSD1306(int8_t DC, int8_t RST, int8_t CS);</font> - <font color="forestgreen">Adafruit_SSD1306(int8_t RST = -1);</font> - <font color="forestgreen">begin</font> - <font color="forestgreen">ssd1306_command</font> - <font color="forestgreen">clearDisplay</font> - <font color="forestgreen">invertDisplay</font> - <font color="forestgreen">display</font> - <font color="forestgreen">ssd1306_command</font> - <font color="forestgreen">ssd1306_command</font> - <font color="forestgreen">startscrollright</font> - <font color="forestgreen">startscrollleft</font> - <font color="forestgreen">startscrolldiagright</font> - <font color="forestgreen">startscrolldiagleft</font> - <font color="forestgreen">stopscroll</font> - <font color="forestgreen">dim</font> - <font color="forestgreen">drawPixel</font> - <font color="forestgreen">drawFastVLine</font> - <font color="forestgreen">drawFastHLine</font> <br> <font color="orange" size="+2">''''''</font><br><br>[[Adafruit_GFX库]] <font color="dodgerblue" >'''BLACK 0'''</font> <font color="dodgerblue" >'''WHITE 1'''</font> <font color="dodgerblue" >'''INVERSE 2'''</font> - <font color="forestgreen">Adafruit_GFX(int16_t w, int16_t h)</font> - <font color="forestgreen">drawLine(int16_t x0, int16_t y0, int16_t x1, int16_t y1, uint16_t color)</font> - <font color="forestgreen">drawFastVLine(int16_t x, int16_t y, int16_t h, uint16_t color)</font> - <font color="forestgreen">drawFastHLine(int16_t x, int16_t y, int16_t w, uint16_t color)</font> - <font color="forestgreen">drawRect(int16_t x, int16_t y, int16_t w, int16_t h, uint16_t color)</font> - <font color="forestgreen">fillRect(int16_t x, int16_t y, int16_t w, int16_t h, uint16_t color)</font> - <font color="forestgreen">fillScreen(uint16_t color)</font> - <font color="forestgreen">invertDisplay(boolean i)</font> - <font color="forestgreen">drawCircle(int16_t x0, int16_t y0, int16_t r, uint16_t color)</font> - <font color="forestgreen">drawCircleHelper(int16_t x0, int16_t y0, int16_t r, uint8_t cornername,uint16_t color)</font> - <font color="forestgreen">fillCircle(int16_t x0, int16_t y0, int16_t r, uint16_t color)</font> - <font color="forestgreen">fillCircleHelper(int16_t x0, int16_t y0, int16_t r, uint8_t cornername,int16_t delta, uint16_t color)</font> - <font color="forestgreen">drawTriangle(int16_t x0, int16_t y0, int16_t x1, int16_t y1, int16_t x2, int16_t y2, uint16_t color)</font> - <font color="forestgreen">fillTriangle(int16_t x0, int16_t y0, int16_t x1, int16_t y1, int16_t x2, int16_t y2, uint16_t color)</font> - <font color="forestgreen">drawRoundRect(int16_t x0, int16_t y0, int16_t w, int16_t h, int16_t radius, uint16_t color)</font> - <font color="forestgreen">fillRoundRect(int16_t x0, int16_t y0, int16_t w, int16_t h, int16_t radius, uint16_t color)</font> - <font color="forestgreen">drawBitmap(int16_t x, int16_t y, const uint8_t *bitmap, int16_t w, int16_t h, uint16_t color)</font> - <font color="forestgreen">drawBitmap(int16_t x, int16_t y, const uint8_t *bitmap, int16_t w, int16_t h, uint16_t color, uint16_t bg)</font> - <font color="forestgreen">drawFastHLine</font> <br> <!--|width="10%" valign="top" align="left"| 空白 --> |} ---- [[Arduino库|返回Arduino库菜单]] [[首页|返回首页]] 更多建议和问题欢迎反馈至 [http://www.yfrobot.com YFRobot论坛]
返回
Adafruit SSD1306库
。
导航菜单
个人工具
登录
名字空间
页面
讨论
不转换
变种
不转换
简体
繁體
大陆简体
香港繁體
澳門繁體
大马简体
新加坡简体
台灣正體
查看
阅读
查看源代码
查看历史
操作
搜索
导航
首页
YF-论坛提问
YFRobot-直营店
YFRobot-企业店
Arduino
Arduino之入门篇
Arduino入门教程
Arduino语法参考
Arduino库
Arduino核心代码
编程平台
Mixly库
Mind+库
MakeCode扩展
传感器系列
积木式传感器系列
黑板传感器系列
蓝板传感器系列
Micro:Bit
Micro:Bit 通用基础教程
Valon智能车
Valon-I
帮助
帮助
wiki语法参考
工具箱
链入页面
相关更改
特殊页面
页面信息