Biblioteka Flasher koda
Dependents: Mikroupravljaci_vjezba_flasher
Flasher.h@0:87793af99c3b, 2015-05-22 (annotated)
- Committer:
- djdinko
- Date:
- Fri May 22 17:21:29 2015 +0000
- Revision:
- 0:87793af99c3b
TVZ library "Flasher"
Who changed what in which revision?
User | Revision | Line number | New contents of line |
---|---|---|---|
djdinko | 0:87793af99c3b | 1 | #ifndef MBED_FLASHER_H |
djdinko | 0:87793af99c3b | 2 | #define MBED_FLASHER_H |
djdinko | 0:87793af99c3b | 3 | #include "mbed.h" |
djdinko | 0:87793af99c3b | 4 | class Flasher { |
djdinko | 0:87793af99c3b | 5 | public: |
djdinko | 0:87793af99c3b | 6 | Flasher(PinName pin); |
djdinko | 0:87793af99c3b | 7 | void flash(int n); |
djdinko | 0:87793af99c3b | 8 | private: |
djdinko | 0:87793af99c3b | 9 | DigitalOut _pin; |
djdinko | 0:87793af99c3b | 10 | }; |
djdinko | 0:87793af99c3b | 11 | #endif |