The purpose of this project was to learn and utilize a programming language to command a robot (ROBOTC) to achieve certain objectives.
I learned how to use If-Else and While loops as well as learn how to create variables, all of which are used for code efficiency.
I learned how to use If-Else and While loops as well as learn how to create variables, all of which are used for code efficiency.
A program with a variable "brightness" to detect the brightest light with the light sensor. The limit switch resets the record.
A program that oscillates the motor 20 times each way that turns one direction using the limit switch and turns the other direction using a 0.5 second time limit.