RAII wrapper for bug LED.
#include <bug.hpp>
Public Member Functions | |
Bug (bool on=true) | |
But LED ctor. | |
~Bug () | |
Bug LED dtor. | |
void | on () |
Turn bug LED on. | |
void | off () |
Turn bug LED off. | |
drv::led::Bug::Bug | ( | bool | on = true | ) |
on | LED state |
drv::led::Bug::~Bug | ( | ) |
void drv::led::Bug::off | ( | ) |
void drv::led::Bug::on | ( | ) |