ROBOTC FUNCTIONS DOWNLOAD
Select Robot – Compile and Download Program.Like before, have the students check the wiring.Naming the sensor – Use descriptive names.Good time to check to see if the motor is actually in the correct port on the VEX Cortex.When naming the motor – Use a descriptive name.
For this Project ROBOTC has pre-programmed some Standard Model Configurations.Project Title: INPUTS AND OUTPUTS 3.1.1 Team Members: ROY ROSNIK Date: SSection: 1 Leave the Communication as Automatic Selection NOTE – Get your students in the habit of checking this every time they start a new project.Select the Platform Type so that it shows Natural Language (VEX Cortex).Setting the Platform and Communications method: Once the Template is Opened – Have the students SAVE AS the name of the assignment that they are working on.Notice the File Path – If you are not in the VEX2 Folder take this time to find it. Servo motors are a type of motor that can be directed to turn to face a specific direction, rather than just spin forward or backward.For 3-Wire Motor Ports (Ports 2-9 on the Cortex), a Motor Controller must be used in between the Microcontroller and the motor.The motor connects directly to 2-Wire Motor Ports (Ports 1 & 10 on the Cortex Microcontroller).The light sensor uses a photocell that allows your robot to detect and react to light.Device emits a high-frequency sound wave that alerts the robot to things in its path. Avoid obstacles and measure distances with the ultrasonic range finder.With the Quadrature Encoder's two output channels you can measure both the position and direction of rotation of a VEX shaft.With the Potentiometer you can determine both position and direction of rotation.Program your robot to follow a black line over a white surface.Functionality is preprogrammed in the VEX Microcontroller.Useful as a trigger in a variety of applications.Bendable sheet metal switch "arm" is very versatile.These switches are great for signaling when a robot arm has reached the top or bottom of its motion.
Useful as a trigger in a variety of applications.Rugged bumpers allows triggering by large impacts.The Bumper switch works as a trigger that provides feedback to the Microcontroller as events "happen".
ROBOTC FUNCTIONS SERIAL
The Cortex – STMicroelectronics ARM CortexM3 user processor – Wireless with built-in VEXnet technology – (8) Standard 3-wire Motor ports – (2) 2-wire Motor ports – (1) I2C "smart sensor" port – (2) UART Serial Ports – (8) Hi-res (12-bit) Analog Inputs – (12) Fast digital I/O ports which can be used as interrupts.This area allows you to perform basic tasks (saving, copy & pasting, undo, etc.), switch between multiple open programs using the tabbed interface, and access all of ROBOTC's additional functionality through the various menus.
ROBOTC FUNCTIONS CODE