![]() ![]() ![]() Motors come in 2 distinct flavors: the 269 (shown to the left) and the 393 (provides 60% more power than a 269). They can be programmed to spin forwards and backwards at a particular percentage of their maximum power (and thus a particular rate) by being assigned a number from -127 to 127 (0 is stopped, -127 is reversed at full power and 127 is forwards at full power). Speaker Port: Used to plug in the VEX speaker (see page ) 2Ĥ The Basics Continued: The Stuff You re Plugging In and How It Works 1. Digital Ports: Digital ports are for sensors that collect actual numerical data and then send that data to the microcontroller. Analog Ports: Analog ports are for sensors that simply return a voltage that is interpreted by the microcontroller and turned into a numerical value to be used in programming. Note: VEX decided that motor ports 1 and 10 are special, so motor controllers are not needed for those two ports. If you re using a two-wire motor, make sure you re using a motor controller. Motor Ports: Motor ports are, quite simply, where motors are plugged in. Analog Ports Used with VEX LCD Screen Digital Ports Speaker Port Motor Ports 1. ![]() If you can, it s better to label your motors and sensors with a piece of masking tape so you re not trying to follow wires later. 3 The Basics: Plugs and Wires In programming with VEX, it s pretty important to know exactly what you re programming and where it s plugged in on the microcontroller before you start. ![]()
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |