This repository contains a simple 16x2 LCD display module implementation in Rust. The code is implemented using the stm32f1xx-hal
crate. The module can be easily ported to other MCUs provided you adapt it to its proper library.
The module itself can be found in the src/lcd.rs
file, and the src/main.rs
file is a simple Hello World! code. The board used in the main example is the NUCLEO-F103RB.
You can find a more in-depth description of the code on this post.
cargo build
cargo flash --chip stm32f103rb
Henrique Bacelar