-
Notifications
You must be signed in to change notification settings - Fork 0
LEDs
Jeffrey Shen edited this page Aug 17, 2017
·
1 revision
This library provides basic capabilities to control the VEX LEDs.
Call the function:
void makeLED(tSensors p, int status)
-
p
is the port where the LED is plugged into (this should be a digital port, and the LED should be set up as a digital out sensor). -
status
is what you want the LED to do. It can beON
,OFF
, orTOGGLE
.
To toggle an LED simply write:
makeLED(dgtl3, TOGGLE); //LED must be plugged into digital 3
Beginner Features:
Intermediate Features:
Advanced Features:
Controlling the LCD
Using Autonomous Modes
Custom Pre Auton Procedure
Using Autonomous Modes in User Control
More Remote Functionality
Configuring Bailout Button
Custom User Control Procedure
PID Control
Drive Train Control