hd44780-hal
Implementation of the embedded-hal
traits for the HD44780.
Documentation
Example usage
This library is pretty bare bones at the moment, but it's greatest feature is that all you need to do to use it is supply the HD44780::new
function a bunch of pins that implement the OutputPin
trait for embedded-hal as well as a struct that implements delay with support for DelayUs<u16> + DelayMs<u8>
also from embedded-hal.
// Code grabbed from the metro_m0 example
let mut lcd = HD44780 new;
lcd.reset;
lcd.clear;
lcd.set_display_mode;
lcd.write_str;
Todo's
- 4 bit mode
- Busy flag support
- Non-blocking API
- Make the API for user-friendly
- Raspberry Pi example using linux-embedded-hal
Additional issues as well as pull-requests are welcome!
License
This project is licensed under MIT license (LICENSE or https://opensource.org/licenses/MIT)