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.h@1:9d2663577a5c, 2022-11-11 (annotated)
- Committer:
- ibrajdic
- Date:
- Fri Nov 11 14:20:37 2022 +0000
- Revision:
- 1:9d2663577a5c
- Parent:
- 0:44276735dddd
Flasher Objava;
Who changed what in which revision?
| User | Revision | Line number | New contents of line |
|---|---|---|---|
| ibrajdic | 0:44276735dddd | 1 | #ifndef MBED_FLASHER_H |
| ibrajdic | 0:44276735dddd | 2 | #define MBED_FLASHER_H |
| ibrajdic | 1:9d2663577a5c | 3 | #include "mbed.h" |
| ibrajdic | 0:44276735dddd | 4 | |
| ibrajdic | 0:44276735dddd | 5 | class Flasher { |
| ibrajdic | 0:44276735dddd | 6 | public: |
| ibrajdic | 0:44276735dddd | 7 | Flasher(PinName pin); |
| ibrajdic | 0:44276735dddd | 8 | void flash(int n); |
| ibrajdic | 0:44276735dddd | 9 | |
| ibrajdic | 0:44276735dddd | 10 | private: |
| ibrajdic | 0:44276735dddd | 11 | DigitalOut _pin; |
| ibrajdic | 0:44276735dddd | 12 | }; |
| ibrajdic | 0:44276735dddd | 13 | |
| ibrajdic | 0:44276735dddd | 14 | #endif |