SEDO subject project
Dependencies: ds3231 mbed-rtos mbed DHT
motor_cnt.h@12:1d544cdab2cf, 2017-05-15 (annotated)
- Committer:
- ValenSalLop
- Date:
- Mon May 15 18:30:20 2017 +0000
- Revision:
- 12:1d544cdab2cf
- Parent:
- 10:f14f47225091
final;
Who changed what in which revision?
User | Revision | Line number | New contents of line |
---|---|---|---|
ValenSalLop | 10:f14f47225091 | 1 | #ifndef MOTOR_CNT_H |
ValenSalLop | 10:f14f47225091 | 2 | #define MOTOR_CNT_H |
ValenSalLop | 10:f14f47225091 | 3 | |
ValenSalLop | 10:f14f47225091 | 4 | extern PwmOut m_speed; |
ValenSalLop | 10:f14f47225091 | 5 | extern DigitalOut m_direction; |
ValenSalLop | 10:f14f47225091 | 6 | |
ValenSalLop | 12:1d544cdab2cf | 7 | extern int set_motor_speed(float speed); |
ValenSalLop | 10:f14f47225091 | 8 | extern int set_motor_direction(uint8_t direction); |
ValenSalLop | 10:f14f47225091 | 9 | extern int get_motor_speed(void); |
ValenSalLop | 10:f14f47225091 | 10 | extern int get_motor_direction(void); |
ValenSalLop | 10:f14f47225091 | 11 | |
ValenSalLop | 10:f14f47225091 | 12 | |
ValenSalLop | 10:f14f47225091 | 13 | #endif |