LiquidCrystal 函式库
这个函式库让 86Duino 可以控制使用 Hitachi HD44780 晶片或是相容于该晶片的液晶显示器(LiquidCrystal displays, LCDs),而使用这类晶片的液晶显示器佔了大多数。这个函式库支援 4 或 8 位元的模式,也就是说资料线可以用 4 或 8 条。
函式
- LiquidCrystal()
- begin()
- clear()
- home()
- setCursor()
- write()
- print()
- cursor()
- noCursor()
- blink()
- noBlink()
- display()
- noDisplay()
- scrollDisplayLeft()
- scrollDisplayRight()
- autoscroll()
- noAutoscroll()
- leftToRight()
- rightToLeft()
- createChar()
范例
以下是 Arduino 使用 LiquidCrystal
函式库的范例,这些范例在 86Duino 上都可以正常运作:
- Hello World
- Blink
- Cursor
- Display
- Text Direction
- Autoscroll
- Serial input
- SetCursor
- Scroll
The text of the 86Duino reference is a modification of the Arduino reference, and is licensed under a Creative Commons Attribution-ShareAlike 3.0 License. Code samples in the reference are released into the public domain.