Firmware  0.4.1
Loading...
Searching...
No Matches
drv::led::Bug Struct Reference

RAII wrapper for bug LED.

#include <bug.hpp>

Collaboration diagram for drv::led::Bug:

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.
 

Constructor & Destructor Documentation

◆ Bug()

drv::led::Bug::Bug ( bool on = true)
Parameters
onLED state

◆ ~Bug()

drv::led::Bug::~Bug ( )

Member Function Documentation

◆ off()

void drv::led::Bug::off ( )

◆ on()

void drv::led::Bug::on ( )

The documentation for this struct was generated from the following files: