Noiasca Tool Kit
Several helper functions and classes to make life with Arduino easier
|
switch on a LED smoothly More...
#include <Noiasca_discrete.h>
Public Member Functions | |
SmoothPin (byte pin) | |
![]() | |
Smooth (DiscretePin &obj) | |
dim up / down a LED dimms smoothly More... | |
void | offForced () |
force switch off More... | |
uint16_t | getCurrentBrightness () |
get the current brightness More... | |
void | getCurrentBrightness (uint16_t brightness) |
set the current brightness More... | |
void | setMaxBrightness (uint16_t newValue) |
set the maximum brightness More... | |
void | update (uint32_t currentMillis=millis()) |
check if update is necessary More... | |
switch on a LED smoothly
wrapper to switch on a discrete Arduino pin smoothly. Inherits style class and composites DiscretePin
|
inline |
pin | a discrete pin (PWM). UNO/NANO PWM pins are 3, 5, 6, 9, 10, 11 |