Massatron
a.h@0:a09345e3207e, 2017-10-22 (annotated)
- Committer:
- massatron
- Date:
- Sun Oct 22 08:06:36 2017 +0000
- Revision:
- 0:a09345e3207e
Test Massatron
Who changed what in which revision?
User | Revision | Line number | New contents of line |
---|---|---|---|
massatron | 0:a09345e3207e | 1 | #ifndef MBED_FLASHER_H |
massatron | 0:a09345e3207e | 2 | #define MBED_FLASHER_H |
massatron | 0:a09345e3207e | 3 | |
massatron | 0:a09345e3207e | 4 | #include "mbed.h" |
massatron | 0:a09345e3207e | 5 | |
massatron | 0:a09345e3207e | 6 | class Flasher { |
massatron | 0:a09345e3207e | 7 | public: |
massatron | 0:a09345e3207e | 8 | Flasher(PinName pin); |
massatron | 0:a09345e3207e | 9 | void flash(int n); |
massatron | 0:a09345e3207e | 10 | |
massatron | 0:a09345e3207e | 11 | private: |
massatron | 0:a09345e3207e | 12 | DigitalOut _pin; |
massatron | 0:a09345e3207e | 13 | }; |
massatron | 0:a09345e3207e | 14 | |
massatron | 0:a09345e3207e | 15 | #endif |