ART v1.0-alpha
A Robot Template that raises the floor for VRC teams
Loading...
Searching...
No Matches
vex.h File Reference

The include file for the Vex Library. More...

#include <math.h>
#include <stdio.h>
#include <stdlib.h>
#include <string.h>
#include "v5.h"
#include "v5_vcs.h"

Go to the source code of this file.

Macros

#define waitUntil(condition)
 
#define repeat(iterations)    for (int iterator = 0; iterator < iterations; iterator++)
 

Variables

vex::brain Brain
 
vex::controller Controller1
 

Detailed Description

The include file for the Vex Library.

Author
Jath Alison (Jath..nosp@m.Alis.nosp@m.on@gm.nosp@m.ail..nosp@m.com)
Version
1.0-beta
Date
06-25-2024

This file simply contains the neccessary includes to access any part of the Vex V5 library. Chances are, the code here will never need to be modified. Any file that needs to interact with a vex controller, brain, motor or other device will need to include this file to access those classes.

Definition in file vex.h.

Macro Definition Documentation

◆ repeat

#define repeat ( iterations)     for (int iterator = 0; iterator < iterations; iterator++)

Definition at line 33 of file vex.h.

◆ waitUntil

#define waitUntil ( condition)
Value:
do \
{ \
wait(5, msec); \
} while (!(condition))

Definition at line 27 of file vex.h.

Variable Documentation

◆ Brain

vex::brain Brain
extern

a brain object representing the V5 Brain

Definition at line 20 of file robotConfig.cpp.

◆ Controller1

vex::controller Controller1
extern

a controller object representing the Primary Controller

Definition at line 21 of file robotConfig.cpp.