czig / Lab6

PWM - "Robot Motion"
0 stars 0 forks source link

Lab6

PWM - "Robot Motion"

This repository includes the files main.c, motor.h, and motor.c, which allow the MSP430 to interface with the motor on the robot to move the robot. Motor.h provides the functions required to operate the motors, while motor.c contains the implementations of those functions.

Grading

Operation:

Functions:

All functions pertaining to the operation of the motor and movement of the robot are shown below.

void initRobot(void);
void moveLeftWheelForward(void);
void moveLeftWheelBack(void);
void moveRightWheelForward(void);
void moveRightWheelBack(void);
void stopLeftWheel(void);
void stopRightWheel(void);
void moveRobotForward(void);
void moveRobotBackward(void);
void turnRobotRight(void);
void turnRobotLeft(void);
void stopRobot(void);

Documentation

Licensing