Noiasca Tool Kit
Several helper functions and classes to make life with Arduino easier
Public Member Functions | List of all members
FluorescentPCA9685 Class Reference

Imitiate fluorescent lamp with a PCA9685 output. More...

#include <Noiasca_PCA9685.h>

Inheritance diagram for FluorescentPCA9685:
Fluorescent< PCA9685 >

Public Member Functions

 FluorescentPCA9685 (Adafruit_PWMServoDriver &pwm, uint16_t pixel)
 
- Public Member Functions inherited from Fluorescent< PCA9685 >
 Fluorescent (PCA9685 &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...
 

Detailed Description

Imitiate fluorescent lamp with a PCA9685 output.

wrapper for imitating Fluorescent on a PCA9685 output. Inherits "style" class and composites PCA9685

Constructor & Destructor Documentation

◆ FluorescentPCA9685()

FluorescentPCA9685::FluorescentPCA9685 ( Adafruit_PWMServoDriver &  pwm,
uint16_t  pixel 
)
inline
Parameters
pwma reference to your PCA9685 object
pixelthe output on the PCA9685 to be used