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

pulse a Neopixel (monoflop) More...

#include <Noiasca_neopixel.h>

Inheritance diagram for PulsePixel:
Pulse< NeoPixel >

Public Member Functions

 PulsePixel (Adafruit_NeoPixel &strip, uint16_t pixel)
 
- Public Member Functions inherited from Pulse< NeoPixel >
 Pulse (NeoPixel &obj)
 pulse an output for a period of time and than switches of More...
 
void setOnInterval (uint32_t _onInterval)
 set interval times More...
 
void off () override
 switch output off More...
 
void toggle ()
 switch between on or off state
 
void update (uint32_t currentMillis=millis())
 check if update is necessary More...
 

Detailed Description

pulse a Neopixel (monoflop)

wrapper to pulse a Neopixel. Inherits class pulse and composites NeoPixel

Constructor & Destructor Documentation

◆ PulsePixel()

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