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