Struct tessel::Tessel [] [src]

pub struct Tessel {
    pub led: Vec<LED>,
}

Primary exported Tessel object with access to module ports, LEDs, and a button.

Example

use tessel::Tessel;

let t = Tessel::new();
// Tessel 2 has four LEDs available.
assert_eq!(t.led.len(), 4);

Fields

Methods

impl Tessel
[src]