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.