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.
megha.h@0:cecb923bd4c3, 2016-12-01 (annotated)
- Committer:
- megha1118
- Date:
- Thu Dec 01 08:24:31 2016 +0000
- Revision:
- 0:cecb923bd4c3
megha
Who changed what in which revision?
User | Revision | Line number | New contents of line |
---|---|---|---|
megha1118 | 0:cecb923bd4c3 | 1 | #ifndef MBED_BUZZ_H |
megha1118 | 0:cecb923bd4c3 | 2 | #define MBED_BUZZ_H |
megha1118 | 0:cecb923bd4c3 | 3 | |
megha1118 | 0:cecb923bd4c3 | 4 | #include "mbed.h" |
megha1118 | 0:cecb923bd4c3 | 5 | |
megha1118 | 0:cecb923bd4c3 | 6 | class interrupt { |
megha1118 | 0:cecb923bd4c3 | 7 | public: |
megha1118 | 0:cecb923bd4c3 | 8 | Flasher(PinName pin); |
megha1118 | 0:cecb923bd4c3 | 9 | void flash(int n); |
megha1118 | 0:cecb923bd4c3 | 10 | |
megha1118 | 0:cecb923bd4c3 | 11 | private: |
megha1118 | 0:cecb923bd4c3 | 12 | DigitalOut _pin; |
megha1118 | 0:cecb923bd4c3 | 13 | }; |
megha1118 | 0:cecb923bd4c3 | 14 | |
megha1118 | 0:cecb923bd4c3 | 15 | #endif |