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

Imitiate fluorescent lamp with a Neopixel. More...

#include <Noiasca_neopixel.h>

Inheritance diagram for FluorescentPixel:
Fluorescent< NeoPixel >

Public Member Functions

 FluorescentPixel (Adafruit_NeoPixel &strip, uint16_t pixel)
 
- Public Member Functions inherited from Fluorescent< NeoPixel >
 Fluorescent (NeoPixel &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 Neopixel.

wrapper for a Fluorescent imitating Neopixel. Inherits "style" class and composites NeoPixel

Constructor & Destructor Documentation

◆ FluorescentPixel()

FluorescentPixel::FluorescentPixel ( Adafruit_NeoPixel &  strip,
uint16_t  pixel 
)
inline
Parameters
stripa reference to your strip object
pixelthe pixel on the strip to be used