nggawe library dewe iku apik
flash.h@0:0faf76403321, 2018-09-16 (annotated)
- Committer:
- ahmat
- Date:
- Sun Sep 16 15:20:09 2018 +0000
- Revision:
- 0:0faf76403321
iki apik;
Who changed what in which revision?
User | Revision | Line number | New contents of line |
---|---|---|---|
ahmat | 0:0faf76403321 | 1 | #ifndef MBED_FLASH_H |
ahmat | 0:0faf76403321 | 2 | #define MBED_FLASH_H |
ahmat | 0:0faf76403321 | 3 | |
ahmat | 0:0faf76403321 | 4 | #include "mbed.h" |
ahmat | 0:0faf76403321 | 5 | |
ahmat | 0:0faf76403321 | 6 | class Flasher { |
ahmat | 0:0faf76403321 | 7 | public: |
ahmat | 0:0faf76403321 | 8 | Flasher(PinName pin); |
ahmat | 0:0faf76403321 | 9 | void flash(int n); |
ahmat | 0:0faf76403321 | 10 | |
ahmat | 0:0faf76403321 | 11 | private: |
ahmat | 0:0faf76403321 | 12 | DigitalOut _pin; |
ahmat | 0:0faf76403321 | 13 | }; |
ahmat | 0:0faf76403321 | 14 | |
ahmat | 0:0faf76403321 | 15 | #endif |