kernel::hil

Module led

Source
Expand description

Interface for LEDs that abstract away polarity and pin.

Author: Philip Levis pal@cs.stanford.edu Date: July 31, 2015

Structs§

  • For LEDs in which on is when GPIO is high.
  • For LEDs in which on is when GPIO is low.

Traits§

  • Simple on/off interface for LED pins.