![]() Motor on port 2 and port 3 just move forward. In the program what we have done previously is just moving forward with these instructions. And for this touch sensor we give the name 'touchsensor'. In the software we have to configure the touch sensor and we go to 'Motor and Sensor Setup', then we have the motors in the motors tab configured and in the 'VEX Cortex Digital Sensors' on port 1 because we've connected it on port 1 we add a touch sensor. Let's go and see how we implement the program. We then implement the program and we're ready to start it. Now the bumper switch is connected to the cortex controller. And I'll connect the bumper switch to digital input 1. Right here on the left side of the controller we have analog and digital inputs. ![]() The bumper switch has a cable and this cable must be connected to the digital input of the controller. Now it moves forward until I press the bumper switch. Where the first program will be moving forward until the robot hits something. Let's connect the bumper switch to the cortex controller and implement a few programs to it.
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |