Contains classes which are able to change the color of a LED
Police.cpp
- Committer:
- arnedesmet
- Date:
- 2016-01-18
- Revision:
- 0:8fd12f8121c1
File content as of revision 0:8fd12f8121c1:
#include "Police.h" Police::Police(RGB* led) :Effect(led){ } void Police::run(){ while(1){ RGB* led = new RGB(p23,p24,p25); led->setColor(Color::RED); wait_ms(500); led->setColor(Color::BLUE); wait_ms(500); } }