“U8g2库”的版本间的差异
(以“ [https://github.com/olikraus/u8g2 u8g2 github地址] [https://github.com/olikraus/u8g2/wiki u8g2 github_WIKI地址]”为内容创建页面) |
|||
第1行: | 第1行: | ||
+ | |||
+ | {| border="0" cellpadding="10" width="100%" | ||
+ | |- | ||
+ | |width="60%" valign="top" align="left"| | ||
第4行: | 第8行: | ||
[https://github.com/olikraus/u8g2/wiki u8g2 github_WIKI地址] | [https://github.com/olikraus/u8g2/wiki u8g2 github_WIKI地址] | ||
+ | |||
+ | |||
+ | <font color="orange" size="+2">'''简介'''</font><br> | ||
+ | |||
+ | |||
+ | U8g2: Library for monochrome displays, version 2 | ||
+ | |||
+ | U8g2 is a monochrome graphics library for embedded devices. U8g2 supports controller based (for example SSD1306) monochrome OLEDs and LCDs (See the U8g2/U8x8 setup guide for a complete list of supported display controller). The Arduino library U8g2 can be installed from the library manager of the Arduino IDE. U8g2 also includes U8x8 library: | ||
+ | |||
+ | U8g2 | ||
+ | Includes all graphics procedures (line/box/circle draw). | ||
+ | Supports many fonts. (Almost) no restriction on the font height. | ||
+ | Requires some memory in the microcontroller to render the display. | ||
+ | U8x8 | ||
+ | Text output only (character) device. | ||
+ | Only fonts allowed with fixed size per character (8x8 pixel). | ||
+ | Writes directly to the display. No buffer in the microcontroller required. | ||
+ | |||
+ | ...... | ||
+ | <br> | ||
+ | |||
+ | |||
+ | |||
+ | |||
+ | |||
+ | |||
+ | 。。。编辑中 | ||
+ | |||
+ | |||
+ | |||
+ | |||
+ | |||
+ | |||
+ | |||
+ | <font color="orange" size="+2">'''Examples'''</font><br> | ||
+ | <br> | ||
+ | :-[[ IndentedPrintExample]] : Indented Print - 缩进打印例程 | ||
+ | |||
+ | :-[[ JsonGeneratorExample]] : Json Generator - Json 生成例程 | ||
+ | |||
+ | :-[[ JsonHttpClient]] : Json Http Client - Json HTTP Client例程(获取网络Json数据并解析) | ||
+ | |||
+ | :-[[ JsonParserExample]] : Json Parser - Json 解析例程 | ||
+ | |||
+ | :-[[ JsonServer]] : Json Server - Json Server例程(生成Json数据并发布) | ||
+ | |||
+ | :-[[ JsonUdpBeacon]] : Json Udp Beacon - Json UDP Beacon 例程 | ||
+ | |||
+ | |||
+ | <!-- |width="10%" valign="top" align="left"| | ||
+ | 空白 --> | ||
+ | |||
+ | |width="40%" valign="top" align="left"| | ||
+ | <br> | ||
+ | <font color="orange" size="+2">'''[https://github.com/olikraus/u8glib/wiki/userreference U8g2 Reference]'''</font><br><br> | ||
+ | |||
+ | - <font color="forestgreen">begin</font> | ||
+ | |||
+ | - <font color="forestgreen">disableCursor</font> | ||
+ | |||
+ | - <font color="forestgreen">drawBitmap</font> | ||
+ | |||
+ | - <font color="forestgreen">drawBitmapP</font> | ||
+ | |||
+ | - <font color="forestgreen">drawBox</font> | ||
+ | |||
+ | - <font color="forestgreen">drawCircle</font> | ||
+ | |||
+ | - <font color="forestgreen">drawDisc</font> | ||
+ | |||
+ | - <font color="forestgreen">drawEllipse</font> | ||
+ | |||
+ | - <font color="forestgreen">drawFilledEllipse</font> | ||
+ | |||
+ | - <font color="forestgreen">drawFrame</font> | ||
+ | |||
+ | - <font color="forestgreen">drawHLine</font> | ||
+ | |||
+ | - <font color="forestgreen">drawLine</font> | ||
+ | |||
+ | - <font color="forestgreen">drawRBox</font> | ||
+ | |||
+ | - <font color="forestgreen">drawRFrame</font> | ||
+ | |||
+ | - <font color="forestgreen">drawStr</font> | ||
+ | |||
+ | - <font color="forestgreen">drawStr90</font> | ||
+ | |||
+ | - <font color="forestgreen">drawStr180</font> | ||
+ | |||
+ | - <font color="forestgreen">drawStr270</font> | ||
+ | |||
+ | - <font color="forestgreen">drawStrP</font> | ||
+ | |||
+ | - <font color="forestgreen">drawStr90P</font> | ||
+ | |||
+ | - <font color="forestgreen">drawStr180P</font> | ||
+ | |||
+ | - <font color="forestgreen">drawStr270P</font> | ||
+ | |||
+ | - <font color="forestgreen">drawTriangle</font> | ||
+ | |||
+ | - <font color="forestgreen">drawVLine</font> | ||
+ | |||
+ | - <font color="forestgreen">drawXBM</font> | ||
+ | |||
+ | - <font color="forestgreen">drawXBMP</font> | ||
+ | |||
+ | - <font color="forestgreen">enableCursor</font> | ||
+ | |||
+ | - <font color="forestgreen">firstPage</font> | ||
+ | |||
+ | - <font color="forestgreen">getColorIndex</font> | ||
+ | |||
+ | - <font color="forestgreen">getFontAscent</font> | ||
+ | |||
+ | - <font color="forestgreen">getFontDescent</font> | ||
+ | |||
+ | - <font color="forestgreen">getFontLineSpacing</font> | ||
+ | |||
+ | - <font color="forestgreen">getHeight</font> | ||
+ | |||
+ | - <font color="forestgreen">getMode</font> | ||
+ | |||
+ | - <font color="forestgreen">getWidth</font> | ||
+ | |||
+ | - <font color="forestgreen">getStrWidth</font> | ||
+ | |||
+ | - <font color="forestgreen">InitSPI, InitHWSPI, Init8Bit InitComFn</font> | ||
+ | |||
+ | - <font color="forestgreen">nextPage</font> | ||
+ | |||
+ | - <font color="forestgreen">setColorIndex</font> | ||
+ | |||
+ | - <font color="forestgreen">setContrast</font> | ||
+ | |||
+ | - <font color="forestgreen">setCursorColor</font> | ||
+ | |||
+ | - <font color="forestgreen">setCursorFont</font> | ||
+ | |||
+ | - <font color="forestgreen">setCursorPos</font> | ||
+ | |||
+ | - <font color="forestgreen">setCursorStyle</font> | ||
+ | |||
+ | - <font color="forestgreen">setDefaultBackgroundColor</font> | ||
+ | |||
+ | - <font color="forestgreen">setDefaultForegroundColor</font> | ||
+ | |||
+ | - <font color="forestgreen">setDefaultMidColor</font> | ||
+ | |||
+ | - <font color="forestgreen">setFont</font> | ||
+ | |||
+ | - <font color="forestgreen">setFontLineSpacingFactor</font> | ||
+ | |||
+ | - <font color="forestgreen">setFontPosBaseline</font> | ||
+ | |||
+ | - <font color="forestgreen">setFontPosBottom</font> | ||
+ | |||
+ | - <font color="forestgreen">setFontPosCenter</font> | ||
+ | |||
+ | - <font color="forestgreen">setFontPosTop</font> | ||
+ | |||
+ | - <font color="forestgreen">setFontRefHeightAll</font> | ||
+ | |||
+ | - <font color="forestgreen">setFontRefHeightExtendedText</font> | ||
+ | |||
+ | - <font color="forestgreen">setFontRefHeightText</font> | ||
+ | |||
+ | - <font color="forestgreen">setHardwareBackup</font> | ||
+ | |||
+ | - <font color="forestgreen">setPrintPos</font> | ||
+ | |||
+ | - <font color="forestgreen">setRGB</font> | ||
+ | |||
+ | - <font color="forestgreen">setRot90</font> | ||
+ | |||
+ | - <font color="forestgreen">setRot180</font> | ||
+ | |||
+ | - <font color="forestgreen">setRot270</font> | ||
+ | |||
+ | - <font color="forestgreen">setScale2x2</font> | ||
+ | |||
+ | - <font color="forestgreen">sleepOn</font> | ||
+ | |||
+ | - <font color="forestgreen">sleepOff</font> | ||
+ | |||
+ | - <font color="forestgreen">undoRotation</font> | ||
+ | |||
+ | - <font color="forestgreen">undoScale</font> | ||
+ | |||
+ | - <font color="forestgreen">U8GLIB</font> | ||
+ | |||
+ | <br> | ||
+ | |||
+ | |||
+ | <!--|width="10%" valign="top" align="left"| | ||
+ | 空白 --> | ||
+ | |} | ||
+ | |||
+ | |||
+ | ---- | ||
+ | |||
+ | |||
+ | [[Arduino库|返回Arduino库菜单]] | ||
+ | |||
+ | [[首页|返回首页]] | ||
+ | |||
+ | 更多建议和问题欢迎反馈至 [http://www.yfrobot.com YFRobot论坛] |
2017年3月4日 (六) 09:05的最后版本
U8g2 is a monochrome graphics library for embedded devices. U8g2 supports controller based (for example SSD1306) monochrome OLEDs and LCDs (See the U8g2/U8x8 setup guide for a complete list of supported display controller). The Arduino library U8g2 can be installed from the library manager of the Arduino IDE. U8g2 also includes U8x8 library: U8g2 Includes all graphics procedures (line/box/circle draw). Supports many fonts. (Almost) no restriction on the font height. Requires some memory in the microcontroller to render the display. U8x8 Text output only (character) device. Only fonts allowed with fixed size per character (8x8 pixel). Writes directly to the display. No buffer in the microcontroller required. ......
Examples
|
- begin - disableCursor - drawBitmap - drawBitmapP - drawBox - drawCircle - drawDisc - drawEllipse - drawFilledEllipse - drawFrame - drawHLine - drawLine - drawRBox - drawRFrame - drawStr - drawStr90 - drawStr180 - drawStr270 - drawStrP - drawStr90P - drawStr180P - drawStr270P - drawTriangle - drawVLine - drawXBM - drawXBMP - enableCursor - firstPage - getColorIndex - getFontAscent - getFontDescent - getFontLineSpacing - getHeight - getMode - getWidth - getStrWidth - InitSPI, InitHWSPI, Init8Bit InitComFn - nextPage - setColorIndex - setContrast - setCursorColor - setCursorFont - setCursorPos - setCursorStyle - setDefaultBackgroundColor - setDefaultForegroundColor - setDefaultMidColor - setFont - setFontLineSpacingFactor - setFontPosBaseline - setFontPosBottom - setFontPosCenter - setFontPosTop - setFontRefHeightAll - setFontRefHeightExtendedText - setFontRefHeightText - setHardwareBackup - setPrintPos - setRGB - setRot90 - setRot180 - setRot270 - setScale2x2 - sleepOn - sleepOff - undoRotation - undoScale - U8GLIB
|
更多建议和问题欢迎反馈至 YFRobot论坛