SmartCradle v1
Baby smart cradle
motor.h
Go to the documentation of this file.
1
10#ifndef MOTOR_H
11#define MOTOR_H
12
16void initMotor();
17
21void remMotor();
22
31int startMotor();
32
41int stopMotor();
42
48_Bool getMotorStatus();
49
50#endif
void initMotor()
Load the motor driver device driver.
Definition: motor.c:22
int stopMotor()
Stop the motor.
Definition: motor.c:55
void remMotor()
Remove the motor driver device driver.
Definition: motor.c:27
int startMotor()
Start the motor.
Definition: motor.c:31
_Bool getMotorStatus()
Get the Motor Status object.
Definition: motor.c:79