VEXcode IQ C++ Unofficial documentation for version 3.0.4.1
Loading...
Searching...
No Matches
vex_console.h
Go to the documentation of this file.
1/*----------------------------------------------------------------------------*/
2/* */
3/* Copyright (c) Innovation First 2017, All rights reserved. */
4/* */
5/* Module: vex_console.h */
6/* Author: James Pearman */
7/* Created: 1 Nov 2017 */
8/* */
9/* Revisions: */
10/* V1.00 TBD - Initial release */
11/* */
12/*----------------------------------------------------------------------------*/
13
14#ifndef VEX_CONSOLE_CLASS_H
15#define VEX_CONSOLE_CLASS_H
16
17/*-----------------------------------------------------------------------------*/
20/*---------------------------------------------------------------------------*/
21
22//
23// allows printing on the second serial port
24// subclass of brain
25//
26namespace vex {
27 class console : public brain {
28 public:
29 console();
30 ~console();
31
37 static int32_t write( const char *fmt, ... );
38 };
39}
40
41#endif // VEX_CONSOLE_CLASS_H
static int32_t write(const char *fmt,...)
print formatted output on the serial console
Bumper switch device class
Definition vex_brain.h:24