Important changes to repositories hosted on mbed.com
Mbed hosted mercurial repositories are deprecated and are due to be permanently deleted in July 2026.
To keep a copy of this software download the repository Zip archive or clone locally using Mercurial.
It is also possible to export all your personal repositories from the account settings page.
Dependents: NeoPixelI2cSlave NeoPixelI2cSlave
effect.h
00001 #pragma once 00002 00003 #include "neopixel_string.h" 00004 00005 namespace Effects { 00006 00007 class Effect { 00008 00009 private: 00010 NeoPixelString * pixelstring; 00011 neopixel::Pixel color; 00012 bool doExecute; 00013 00014 public: 00015 Effect(NeoPixelString * pixelstring, neopixel::Pixel color); 00016 00017 public: 00018 virtual void start(void); 00019 virtual void stop(void); 00020 NeoPixelString * getPixelString(void); 00021 neopixel::Pixel getColor(void); 00022 void requestExecute(void); 00023 void clearExecute(void); 00024 bool shouldExecute(void); 00025 virtual void execute(void) = 0; 00026 }; 00027 00028 };
Generated on Fri Jul 15 2022 00:27:27 by
1.7.2