Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
branch: master
Fetching contributors…

Cannot retrieve contributors at this time

34 lines (26 sloc) 0.769 kb
/*
G35: An Arduino library for GE Color Effects G-35 holiday lights.
Copyright © 2012 The G35 Authors. Use, modification, and distribution are
subject to the BSD license as described in the accompanying LICENSE file.
By Mike Tsao <http://github.com/sowbug>.
and Mark Ortiz
See README for complete attributions.
*/
#ifndef INCLUDE_G35_PROGRAMS_LEDStrip_OSCILLATE_H
#define INCLUDE_G35_PROGRAMS_LEDStrip_OSCILLATE_H
#include <LEDStripLightProgram.h>
class LEDStripOscillate : public LEDStripLightProgram
{
public:
LEDStripOscillate(LEDStripG35& g35, uint8_t pattern);
uint32_t Do();
private:
uint8_t intensity_;
uint8_t pattern_;
uint16_t colorMain_;
uint16_t wait_;
float decay_;
uint16_t oscillations_;
uint16_t step_;
};
#endif
Jump to Line
Something went wrong with that request. Please try again.