|
| static int32_t | write (const char *fmt,...) |
| | print formatted output on the serial console
|
| |
|
|
| brain () |
| | Creates a new brain object.
|
| |
| double | timer (timeUnits units) |
| | Gets the value of the timer in the units specified.
|
| |
|
void | resetTimer () |
| | Resets the timer to zero.
|
| |
| void | setTimer (double value, timeUnits units) |
| | Sets the timer to a value and time unit.
|
| |
|
void | playSound (soundType sound) |
| | play one of the predefined sounds on the brain
|
| |
|
void | playNote (int32_t octave, int32_t note) |
| | play a note in the given octave on the brain
|
| |
|
void | playNote (int32_t octave, int32_t note, int32_t ms) |
| | play a note in the given octave on the brain and wait for the given time before returning
|
| |
|
void | soundOff (void) |
| | turn sound off on the brain
|
| |
|
void | programStop () |
| | request that vexos stop the running program. The program will stop after approximately 500mS.
|
| |
| button | buttonUp = button(0) |
| | A button that represents the Up/Left button on the brain.
|
| |
| button & | buttonLeft = buttonUp |
| |
| button | buttonDown = button(1) |
| | A button that represents the Down/Right button on the brain.
|
| |
| button & | buttonRight = buttonDown |
| |
| button | buttonCheck = button(2) |
| | A button that represents the Check button on the brain.
|
| |
| lcd | Screen |
| | Use the Screen class to write or draw to the screen.
|
| |
| vex::timer | Timer |
| | Use the Timer class to obtain the system time.
|
| |
| battery | Battery |
| |
| terminal | Terminal |
| |
Definition at line 27 of file vex_console.h.
◆ write()
| static int32_t vex::console::write |
( |
const char * | fmt, |
|
|
| ... ) |
|
static |
print formatted output on the serial console
- Parameters
-
| format | This is a reference to a char format that prints the value of variables. |
| ... | A variable list of parameters to insert into format string. |
The documentation for this class was generated from the following file: