![](/media/cache/img/default_profile.jpg.50x50_q85.jpg)
uitvoer/roer.h@0:bec310bde899, 2011-09-27 (annotated)
- Committer:
- pd0wm
- Date:
- Tue Sep 27 19:46:30 2011 +0000
- Revision:
- 0:bec310bde899
Who changed what in which revision?
User | Revision | Line number | New contents of line |
---|---|---|---|
pd0wm | 0:bec310bde899 | 1 | #ifndef ROER_H |
pd0wm | 0:bec310bde899 | 2 | #define ROER_H |
pd0wm | 0:bec310bde899 | 3 | |
pd0wm | 0:bec310bde899 | 4 | #include "mbed.h" |
pd0wm | 0:bec310bde899 | 5 | |
pd0wm | 0:bec310bde899 | 6 | class Roer{ |
pd0wm | 0:bec310bde899 | 7 | int stand; |
pd0wm | 0:bec310bde899 | 8 | PwmOut led; |
pd0wm | 0:bec310bde899 | 9 | PwmOut rudder; |
pd0wm | 0:bec310bde899 | 10 | |
pd0wm | 0:bec310bde899 | 11 | |
pd0wm | 0:bec310bde899 | 12 | public: |
pd0wm | 0:bec310bde899 | 13 | Roer(); |
pd0wm | 0:bec310bde899 | 14 | |
pd0wm | 0:bec310bde899 | 15 | void set(int); |
pd0wm | 0:bec310bde899 | 16 | int get(void); |
pd0wm | 0:bec310bde899 | 17 | void write(void); |
pd0wm | 0:bec310bde899 | 18 | |
pd0wm | 0:bec310bde899 | 19 | }; |
pd0wm | 0:bec310bde899 | 20 | #endif |