BlinkLed automatically. This library requires RTOS.

Dependents:   mpod_nhk_english mpod_picasa_photoframe mpod_nhk_english_spxml

Embed: (wiki syntax)

« Back to documentation index

BlinkLed Class Reference

BlinkLed Class Reference

LED which blinks automatically with RTOS. More...

#include <BlinkLed.h>

Public Member Functions

 BlinkLed (PinName pin, float dutyChangeStep)
 Constructor.
 ~BlinkLed ()
 Destructor.
void startBlink ()
 Start biinking.
void finishBlink ()
 Finish biinking.
bool isBlinking ()
 Check biinking.

Detailed Description

LED which blinks automatically with RTOS.

Definition at line 10 of file BlinkLed.h.


Constructor & Destructor Documentation

BlinkLed ( PinName  pin,
float  dutyChangeStep 
)

Constructor.

Definition at line 3 of file BlinkLed.cpp.

~BlinkLed (  )

Destructor.

Definition at line 11 of file BlinkLed.cpp.


Member Function Documentation

void finishBlink (  )

Finish biinking.

Definition at line 25 of file BlinkLed.cpp.

bool isBlinking (  )

Check biinking.

Definition at line 30 of file BlinkLed.cpp.

void startBlink (  )

Start biinking.

Definition at line 15 of file BlinkLed.cpp.