s
Semafor.h@0:641b73812fdf, 2017-01-19 (annotated)
- Committer:
- tbogdan
- Date:
- Thu Jan 19 11:57:10 2017 +0000
- Revision:
- 0:641b73812fdf
Public
Who changed what in which revision?
User | Revision | Line number | New contents of line |
---|---|---|---|
tbogdan | 0:641b73812fdf | 1 | #ifndef SEmaFOr_2017 |
tbogdan | 0:641b73812fdf | 2 | #define SEmaFOr_2017 |
tbogdan | 0:641b73812fdf | 3 | |
tbogdan | 0:641b73812fdf | 4 | #include "mbed.h" |
tbogdan | 0:641b73812fdf | 5 | |
tbogdan | 0:641b73812fdf | 6 | class Semafor{ |
tbogdan | 0:641b73812fdf | 7 | |
tbogdan | 0:641b73812fdf | 8 | public: |
tbogdan | 0:641b73812fdf | 9 | Semafor1(PinName pin); |
tbogdan | 0:641b73812fdf | 10 | void pjesaci(); |
tbogdan | 0:641b73812fdf | 11 | |
tbogdan | 0:641b73812fdf | 12 | private: |
tbogdan | 0:641b73812fdf | 13 | BusOut Semafor1; |
tbogdan | 0:641b73812fdf | 14 | |
tbogdan | 0:641b73812fdf | 15 | } |
tbogdan | 0:641b73812fdf | 16 | |
tbogdan | 0:641b73812fdf | 17 | #endif |