eka sinambela
/
g3_waterplay
ok
Fork of g3_waterplay by
Flasher.h@10:fbab9fa07922, 2016-06-20 (annotated)
- Committer:
- ekasinambela
- Date:
- Mon Jun 20 14:46:19 2016 +0000
- Revision:
- 10:fbab9fa07922
- Parent:
- 0:ad9362f18797
temperature measurement is OK
Who changed what in which revision?
User | Revision | Line number | New contents of line |
---|---|---|---|
mariosimaremare | 0:ad9362f18797 | 1 | #ifndef MBED_FLASHER_H |
mariosimaremare | 0:ad9362f18797 | 2 | #define MBED_FLASHER_H |
mariosimaremare | 0:ad9362f18797 | 3 | |
mariosimaremare | 0:ad9362f18797 | 4 | #include "mbed.h" |
mariosimaremare | 0:ad9362f18797 | 5 | |
mariosimaremare | 0:ad9362f18797 | 6 | class Flasher { |
mariosimaremare | 0:ad9362f18797 | 7 | public: |
mariosimaremare | 0:ad9362f18797 | 8 | Flasher(PinName pin); |
mariosimaremare | 0:ad9362f18797 | 9 | void flash(int n); |
mariosimaremare | 0:ad9362f18797 | 10 | |
mariosimaremare | 0:ad9362f18797 | 11 | private: |
mariosimaremare | 0:ad9362f18797 | 12 | DigitalOut _pin; |
mariosimaremare | 0:ad9362f18797 | 13 | }; |
mariosimaremare | 0:ad9362f18797 | 14 | |
mariosimaremare | 0:ad9362f18797 | 15 | #endif |