Blinking a LED with Rust

Rust is a systems programming language that is quickly growing in popularity.  Christopher Woodall chose Rust to develop a drink making robot powered by BeagleBone Green Wireless:

rusty-nail-logoRusty Nail

Christopher has written development notes about using Rust on BeagleBone:

Setting up a BeagleBone with Rust

We will use rustup which is a rust toolchain installer similar to rvm or virtualenv

Blinking a LED with Rust

Use sysfs_gpio.  This following program blinks an LED on and off every 2 seconds

Beaglebone, Rust, and PWM chips

Found a pwm library from posborne which works with sysfs