/heartbeat

Blinks an LED via GPIO control. Takes pin number as argument.

Primary LanguageRust

heartbeat

Takes a GPIO pin as input and blinks an LED. Timing is currently hardcoded as being on for 1s and off for 1s. The next iteration of the utility may receive millisecond on and off values as arguments.

Based on this example from rust-sysfs-gpio. Arguments handled with clap.