SEDO subject project
Dependencies: ds3231 mbed-rtos mbed DHT
Diff: motor_cnt.h
- Revision:
- 10:f14f47225091
- Child:
- 12:1d544cdab2cf
--- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/motor_cnt.h Mon May 08 17:13:57 2017 +0000 @@ -0,0 +1,13 @@ +#ifndef MOTOR_CNT_H +#define MOTOR_CNT_H + +extern PwmOut m_speed; +extern DigitalOut m_direction; + +extern int set_motor_speed(uint8_t speed); +extern int set_motor_direction(uint8_t direction); +extern int get_motor_speed(void); +extern int get_motor_direction(void); + + +#endif \ No newline at end of file