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.
LEDColors.h
- Committer:
- silverpanda
- Date:
- 2014-04-14
- Revision:
- 7:19da09fe546b
File content as of revision 7:19da09fe546b:
#ifndef ledcolors__h__
#define ledcolors__h__
class LEDColors {
public:
LEDColors();
void tick10ms();
void flashRed(uint32_t);
void flashBlue(uint32_t);
void flashGreen(uint32_t);
void flashWhite(uint32_t);
private:
DigitalOut *ledRed, *ledBlue, *ledGreen;
uint32_t redTimer, blueTimer, greenTimer;
};
#endif