All Data Structures Files Functions Variables Typedefs Enumerations Enumerator Macros Pages
Display on the LCD

ConVEX supports two VEX LCD displays connected to the serial ports which are both initialized by default.

The following simple functions are used to display text and numbers.

vexLcdSet(int16_t display, int16_t line, char *buf)

  • display is 0 for the first display and 1 for the second.
  • line is 0 for the top display line and 1 for the lower display line.
  • buf is a pointer to the text top be displayed.

vexLcdSetAt(int16_t display, int16_t line, int16_t col, char *buf)
vexLcdPrintf(int16_t display, int16_t line, char *fmt,...)
vexLcdPrintfAt(int16_t display, int16_t line, int16_t col, char *fmt,...)
vexLcdClearLine(int16_t display, int16_t line)
vexLcdBacklight(int16_t display, int16_t value)

LCD buttons can be read using the following.

vexLcdButtonGet(int16_t display)