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.
aditya1.h@0:755c9c86e432, 2016-12-01 (annotated)
- Committer:
- adityanand
- Date:
- Thu Dec 01 05:58:38 2016 +0000
- Revision:
- 0:755c9c86e432
thank you
Who changed what in which revision?
User | Revision | Line number | New contents of line |
---|---|---|---|
adityanand | 0:755c9c86e432 | 1 | #ifndef MBED_buzz_H |
adityanand | 0:755c9c86e432 | 2 | #define MBED_buzz_H |
adityanand | 0:755c9c86e432 | 3 | |
adityanand | 0:755c9c86e432 | 4 | #include "mbed.h" |
adityanand | 0:755c9c86e432 | 5 | |
adityanand | 0:755c9c86e432 | 6 | class buzz { |
adityanand | 0:755c9c86e432 | 7 | public: |
adityanand | 0:755c9c86e432 | 8 | buzzer(PinName pin); |
adityanand | 0:755c9c86e432 | 9 | void flash(int n); |
adityanand | 0:755c9c86e432 | 10 | |
adityanand | 0:755c9c86e432 | 11 | private: |
adityanand | 0:755c9c86e432 | 12 | DigitalOut _pin; |
adityanand | 0:755c9c86e432 | 13 | }; |
adityanand | 0:755c9c86e432 | 14 | |
adityanand | 0:755c9c86e432 | 15 | #endif |