The library can flash an LED or DigitalOut pin at 50% duty using a Ticker interrupt triggered toggle function. This library does NOT use wait() so that it can flash a pin while more code is being executed. Instead, it relies on Ticker generated interrupts. There is only one parameter required, the on/off time of the pin in seconds (i.e. 0.5 means 0.5 seconds on and 0.5 seconds off).
Changes
Revision | Date | Who | Commit message |
---|---|---|---|
3:dbd7ab16f171 | 2012-12-23 | PennElectric | Some changes compiles |
2:fddd1a6486bd | 2012-12-22 | PennElectric | added first constructor to auto doc; |
1:0764e2d49518 | 2012-12-22 | PennElectric | fixed error in auto doc |
0:32fa44559a40 | 2012-12-22 | PennElectric | Library completed December 2012 |