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.
Flasher Class Reference
Flasher class Used to flash a pin # times. More...
#include <Flasher.h>
Public Member Functions | |
| Flasher (PinName pin) | |
| Create Flasher instance. | |
| void | flash (int n) |
| Flash method. | |
Detailed Description
Flasher class Used to flash a pin # times.
Example:
#include "mbed.h" #include "Flasher.h" Flasher led(LED2); int main() { led.flash(5); //flash LED2 5 times }
Definition at line 21 of file Flasher.h.
Constructor & Destructor Documentation
| Flasher | ( | PinName | pin ) |
Create Flasher instance.
- Parameters:
-
pin Mbed pin reference
Definition at line 4 of file Flasher.cpp.
Member Function Documentation
| void flash | ( | int | n ) |
Generated on Tue Jul 12 2022 18:53:38 by
1.7.2