-
TrafficFlash.h@0:a4fa725628ef, 2020-11-26 (annotated)
- Committer:
- divicic
- Date:
- Thu Nov 26 07:51:35 2020 +0000
- Revision:
- 0:a4fa725628ef
-
Who changed what in which revision?
User | Revision | Line number | New contents of line |
---|---|---|---|
divicic | 0:a4fa725628ef | 1 | #ifndef MBED_TrafficFlash_H |
divicic | 0:a4fa725628ef | 2 | #define MBED_TrafficFlash_H |
divicic | 0:a4fa725628ef | 3 | #include "mbed.h" |
divicic | 0:a4fa725628ef | 4 | |
divicic | 0:a4fa725628ef | 5 | class TrafficFlash |
divicic | 0:a4fa725628ef | 6 | { |
divicic | 0:a4fa725628ef | 7 | public: |
divicic | 0:a4fa725628ef | 8 | TrafficFlash(PinName pin); |
divicic | 0:a4fa725628ef | 9 | void flash(int n); |
divicic | 0:a4fa725628ef | 10 | private: |
divicic | 0:a4fa725628ef | 11 | DigitalOut _pin; |
divicic | 0:a4fa725628ef | 12 | }; |
divicic | 0:a4fa725628ef | 13 | #endif |