Public Member Functions | List of all members
LightAllLEDs Class Reference

Behaviour that lights up all the LEDs to a brightness specified as its argument. More...

#include <LEDBehaviours.h>

Inheritance diagram for LightAllLEDs:
Behaviour

Public Member Functions

char * args ()
 
 LightAllLEDs (Adafruit_NeoPixel *strip, String name="LightAll", uint32_t hue=0, uint32_t sat=0)
 
String start (String args)
 
- Public Member Functions inherited from Behaviour
 Behaviour (String name)
 
virtual boolean is_background ()
 
virtual boolean is_interruptable ()
 
virtual boolean is_priority ()
 
virtual boolean is_running ()
 
virtual boolean is_temp ()
 
virtual String name ()
 
virtual void stop ()
 
virtual void update ()
 
 ~Behaviour ()
 

Additional Inherited Members

- Protected Attributes inherited from Behaviour
boolean _background = false
 
boolean _interruptable = true
 
String _name = "name"
 
boolean _priority = false
 
boolean _running = false
 
boolean _temp = false
 

Detailed Description

Behaviour that lights up all the LEDs to a brightness specified as its argument.

Constructor & Destructor Documentation

◆ LightAllLEDs()

LightAllLEDs::LightAllLEDs ( Adafruit_NeoPixel *  strip,
String  name = "LightAll",
uint32_t  hue = 0,
uint32_t  sat = 0 
)

Member Function Documentation

◆ args()

char* LightAllLEDs::args ( )
virtual

What arguments does the behaviour take? Override this to document your behaviour.

Reimplemented from Behaviour.

◆ start()

String LightAllLEDs::start ( String  args)
virtual

Start the behaviour, with arguments.

Reimplemented from Behaviour.


The documentation for this class was generated from the following file: