#include <flashlight.h>
◆ Flashlight()
flashlight::Flashlight::Flashlight |
( |
i2c::Device const & |
dev | ) |
|
|
explicit |
◆ brightness()
int flashlight::Flashlight::brightness |
( |
| ) |
|
|
inline |
◆ enabled()
bool flashlight::Flashlight::enabled |
( |
| ) |
|
|
inline |
◆ Init()
bool flashlight::Flashlight::Init |
( |
i2c::Error * |
ec | ) |
|
◆ mode()
Mode flashlight::Flashlight::mode |
( |
| ) |
|
|
inline |
◆ SetBrightness()
bool flashlight::Flashlight::SetBrightness |
( |
int |
brightness, |
|
|
i2c::Error * |
ec |
|
) |
| |
◆ SetEnabled()
bool flashlight::Flashlight::SetEnabled |
( |
bool |
enabled, |
|
|
i2c::Error * |
ec |
|
) |
| |
◆ SetMode()
The documentation for this class was generated from the following files: