Crate lcd1602_driver
source ·Expand description
§LCD 1602 Driver
Basic Usage:
-
Initialize a “sender”
This crate include 2 drvier:- 4-pin/8-pin parallel driver
sender::ParallelSender
- I2C driver with a seperate adapter board
sender::I2cSender
You can choose either of it, or you can use any driver implemented
sender::SendCommand
.
- 4-pin/8-pin parallel driver
-
Use
lcd::Lcd::new()
to create alcd::Lcd
, and initialize LCD1602 hardware
-
use any methods provide by
lcd::Lcd
to control LCD1602
Modules§
- Command to control LCD
Lcd
is the main driver for LCD1602- Built-in sender
If you want to create a new sender, you will need to implementSendCommand
trait - Common tools