Hi all,
I am the author of the rust_gpiozero
crate. It is a port of the python GPIOZero library from the Raspberry Pi foundation using the rust
programming language. It provides a simple interface to GPIO devices.
I created a sample project based on the balena-rust-hello-world
by the balena team.
The project blinks an LED attached to pin 17 on a raspberry pi. It also uses service variables to configure the blinking settings, i.e the number of seconds to stay on or off.
The project can be found here:
https://github.com/rahul-thakoor/balena-rust-blink
Using balena to build rust projects is just awesome. I am thinking of using this workflow to further develop rust_gpiozero
!
Let me know if you find this project helpful and would like to see more rust projects! Any suggestions to improve the project are more than welcome. I am also learning along the way!
Thanks,
Rahul