initial commit of main.c. no code has been written yet
Used the code from lesson 31 on the website to help set up my clock. i have also initiated my output pins that will go to the motor driver chip.
moves the left motor forward and the right motor backward. directly using the clock signals for the left and right motor.
ability to move both motors forward and backward is complete. now the top level functionality needs to be built to make it do everything in series. each movement works individually.
back to the original code. the left motor moves forward.
left motor moves backward too
left motor will switch from moving forward to backwards within the same program
right motor has same functionality as left motor now. both will move forward and backward within the same program independently.
the right motor was switched as in the motor went the opposite direction it was supposed to. i could have switched the wires on the board or switched the functions moveRightForward and moveRightBackward. I chose to just swap the functions in the software.
required functionality works. it goes through a series of movements that are in main.c
This includes all of the most recent files to make the robot move. All files have final comments included.
Merge branch 'master' of https://github.com/babelcher/RobotMotion