MAV'RIC
Public Member Functions
Led_gpio Class Reference
Inheritance diagram for Led_gpio:
Inheritance graph
[legend]
Collaboration diagram for Led_gpio:
Collaboration graph
[legend]

List of all members.

Public Member Functions

 Led_gpio (Gpio &gpio, bool active_high=true)
 Constructor.
void on (void)
 Switch led on.
void off (void)
 Switch led off.
void toggle (void)
 Toggle led.

Constructor & Destructor Documentation

Led_gpio::Led_gpio ( Gpio gpio,
bool  active_high = true 
)

Constructor.

Parameters:
gpioReference to gpio
active_highIndicates if the led is on for gpio high (true) of gpio low (false)

The documentation for this class was generated from the following files:
 All Classes Files Functions Variables Typedefs Enumerations Enumerator Friends Defines