test-rust-led-blink

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

 

Advertisements

One thought on “Blinking a LED with Rust

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s