Close

Blinking a LED with Rust

beagleboard-foundationBeagleBoard Foundation wrote 12/24/2016 at 05:44 • 1 min read • Like

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


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
Like

Discussions