Noiasca Tool Kit
Several helper functions and classes to make life with Arduino easier
|
simulate a fluorescent lamp More...
#include <Noiasca_discrete.h>
Public Member Functions | |
FluorescentPin (byte pin) | |
![]() | |
Fluorescent (DiscretePin &obj) | |
simulate a fluroescent lamp or flurescent tube More... | |
uint16_t | getCurrentBrightness () |
get the current brightness More... | |
void | on () override |
switch on | |
void | off () override |
switch off | |
void | toggle () override |
switch between on or off state | |
void | update (uint32_t currentMillis=millis()) |
check if update is necessary More... | |
simulate a fluorescent lamp
wrapper to imitate Fluorescent on a discrete pin. Inherits "style" class and composites DiscretePin
|
inline |
pin | a discrete pin (PMW). UNO/NANO PWM pins are 3, 5, 6, 9, 10, 11 |