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@0:b001170d4346, 2018-10-26 (annotated)
- Committer:
- tradasic
- Date:
- Fri Oct 26 16:03:41 2018 +0000
- Revision:
- 0:b001170d4346
o
Who changed what in which revision?
| User | Revision | Line number | New contents of line |
|---|---|---|---|
| tradasic | 0:b001170d4346 | 1 | #ifndef MBED_FLASHER_H |
| tradasic | 0:b001170d4346 | 2 | #define MBED_FLASHER_H |
| tradasic | 0:b001170d4346 | 3 | #include "mbed.h" |
| tradasic | 0:b001170d4346 | 4 | class Flasher { |
| tradasic | 0:b001170d4346 | 5 | public: |
| tradasic | 0:b001170d4346 | 6 | Flasher(PinName pin); |
| tradasic | 0:b001170d4346 | 7 | void flash(int n); |
| tradasic | 0:b001170d4346 | 8 | private: |
| tradasic | 0:b001170d4346 | 9 | DigitalOut _pin; |
| tradasic | 0:b001170d4346 | 10 | }; |
| tradasic | 0:b001170d4346 | 11 | #endif |