LIB Test
SPS.h@1:be96d2db8c03, 2016-04-17 (annotated)
- Committer:
- rs27
- Date:
- Sun Apr 17 08:05:29 2016 +0000
- Revision:
- 1:be96d2db8c03
- Parent:
- 0:bacf7305d459
Stand 17.04.2016
Who changed what in which revision?
User | Revision | Line number | New contents of line |
---|---|---|---|
rs27 | 0:bacf7305d459 | 1 | #ifndef SPS_H |
rs27 | 0:bacf7305d459 | 2 | #define SPS_H |
rs27 | 0:bacf7305d459 | 3 | |
rs27 | 0:bacf7305d459 | 4 | #include "mbed.h" |
rs27 | 0:bacf7305d459 | 5 | |
rs27 | 0:bacf7305d459 | 6 | class SPS { |
rs27 | 0:bacf7305d459 | 7 | public: |
rs27 | 0:bacf7305d459 | 8 | SPS(PinName pin); |
rs27 | 0:bacf7305d459 | 9 | void flash(int n); |
rs27 | 0:bacf7305d459 | 10 | |
rs27 | 0:bacf7305d459 | 11 | private: |
rs27 | 0:bacf7305d459 | 12 | DigitalOut _pin; |
rs27 | 0:bacf7305d459 | 13 | }; |
rs27 | 0:bacf7305d459 | 14 | |
rs27 | 0:bacf7305d459 | 15 | #endif |