-
Notifications
You must be signed in to change notification settings - Fork 1
/
vex_global.h
93 lines (84 loc) · 3.63 KB
/
vex_global.h
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
/*----------------------------------------------------------------------------*/
/* */
/* Copyright (c) Robomatter 2016, All rights reserved. */
/* */
/* Module: vex_global.h */
/* Author: James Pearman */
/* Created: 5 July 2017 */
/* */
/* Revisions: */
/* V1.00 TBD - Initial release */
/* */
/*----------------------------------------------------------------------------*/
#ifndef VCS_GLOBAL_H
#define VCS_GLOBAL_H
/*-----------------------------------------------------------------------------*/
/** @file vex_global.h
* @brief Globals for VCS API
*//*---------------------------------------------------------------------------*/
namespace vex {
extern const int32_t PORT1;
extern const int32_t PORT2;
extern const int32_t PORT3;
extern const int32_t PORT4;
extern const int32_t PORT5;
extern const int32_t PORT6;
extern const int32_t PORT7;
extern const int32_t PORT8;
extern const int32_t PORT9;
extern const int32_t PORT10;
extern const int32_t PORT11;
extern const int32_t PORT12;
extern const int32_t PORT13;
extern const int32_t PORT14;
extern const int32_t PORT15;
extern const int32_t PORT16;
extern const int32_t PORT17;
extern const int32_t PORT18;
extern const int32_t PORT19;
extern const int32_t PORT20;
extern const int32_t PORT21;
extern const int32_t PORT22;
extern percentUnits pct;
extern timeUnits sec;
extern timeUnits msec;
extern currentUnits amp;
extern powerUnits watt;
extern torqueUnits Nm;
extern torqueUnits InLb;
extern rotationUnits deg;
extern rotationUnits rev;
extern velocityUnits rpm;
extern directionType fwd;
extern brakeType coast;
extern brakeType brake;
extern brakeType hold;
extern gearSetting ratio36_1;
extern gearSetting ratio18_1;
extern gearSetting ratio6_1;
extern const color & black;
extern const color & white;
extern const color & red;
extern const color & green;
extern const color & blue;
extern const color & yellow;
extern const color & orange;
extern const color & purple;
extern const color & cyan;
extern const color & transparent;
extern fontType mono20;
extern fontType mono30;
extern fontType mono40;
extern fontType mono60;
extern fontType mono15;
extern fontType mono12;
extern fontType prop20;
extern fontType prop30;
extern fontType prop40;
extern fontType prop60;
extern analogUnits range8bit;
extern analogUnits range10bit;
extern analogUnits range12bit;
extern analogUnits mV;
};
#endif // VCS_GLOBAL_H