![]() |
These calls are specific to the Phidget Text LCD object. See your device's User Guide for more specific API details, technical information, and revision details. The User Guide, along with other resources, can be found on the product page for your device.
#define HD44780_CLEAR_DISPLAY 0x01 |
Definition at line 191 of file cphidgettextlcd.h.
#define HD44780_CURSOR_BLINK_ON 0x01 |
Definition at line 198 of file cphidgettextlcd.h.
#define HD44780_CURSOR_HOME 0x02 |
Definition at line 192 of file cphidgettextlcd.h.
#define HD44780_CURSOR_ON 0x02 |
Definition at line 197 of file cphidgettextlcd.h.
#define HD44780_DISPLAY_CNTRL 0x08 |
Definition at line 195 of file cphidgettextlcd.h.
#define HD44780_DISPLAY_ON 0x04 |
Definition at line 196 of file cphidgettextlcd.h.
#define HD44780_SET_CGRAM_ADDR 0x40 |
Definition at line 200 of file cphidgettextlcd.h.
#define HD44780_SET_DDRAM_ADDR 0x80 |
Definition at line 201 of file cphidgettextlcd.h.
#define TEXTLCD_BACKLIGHT_PACKET 0x11 |
Definition at line 179 of file cphidgettextlcd.h.
#define TEXTLCD_CGRAM_ADDR | ( | x | ) | (x << 3) |
Definition at line 184 of file cphidgettextlcd.h.
#define TEXTLCD_COMMAND_MODE 0x01 |
Definition at line 187 of file cphidgettextlcd.h.
#define TEXTLCD_CONTRAST_PACKET 0x12 |
Definition at line 180 of file cphidgettextlcd.h.
#define TEXTLCD_CURSOR_PACKET 0x00 |
Definition at line 178 of file cphidgettextlcd.h.
#define TEXTLCD_DATA_MODE 0x02 |
Definition at line 188 of file cphidgettextlcd.h.
#define TEXTLCD_ESCAPE_CHAR 0x00 |
Definition at line 186 of file cphidgettextlcd.h.
#define TEXTLCD_INIT_PACKET 0x13 |
Definition at line 181 of file cphidgettextlcd.h.
#define TEXTLCD_MAXCOLS 40 |
Definition at line 175 of file cphidgettextlcd.h.
#define TEXTLCD_MAXROWS 2 |
Definition at line 174 of file cphidgettextlcd.h.
#define TEXTLCD_MAXSCREENS 2 |
Definition at line 176 of file cphidgettextlcd.h.
#define TEXTLCD_SCREEN | ( | x | ) | (x << 5) |
Definition at line 183 of file cphidgettextlcd.h.
Gets the number of rows supported by this display.
phid | An attached phidget text lcd handle. |
count | The row count. Gets the number of columns per supported by this display. |
phid | An attached phidget text lcd handle. |
count | The Column count. Gets the state of the backlight. |
phid | An attached phidget text lcd handle. |
backlightState | The backlight state. Possible values are PTRUE and PFALSE. Sets the state of the backlight. |
phid | An attached phidget text lcd handle. |
backlightState | The backlight state. Possible values are PTRUE and PFALSE. Gets the brightness of the backlight. Not supported on all TextLCDs |
phid | An attached phidget text lcd handle. |
brightness | The backlight brightness (0-255). Sets the brightness of the backlight. Not supported on all TextLCDs |
phid | An attached phidget text lcd handle. |
brightness | The backlight brightness (0-255). Gets the last set contrast value. |
phid | An attached phidget text lcd handle. |
contrast | The contrast (0-255). Sets the last set contrast value. |
phid | An attached phidget text lcd handle. |
contrast | The contrast (0-255). Gets the cursor visible state. |
phid | An attached phidget text lcd handle. |
cursorState | The state of the cursor. Sets the cursor visible state. |
phid | An attached phidget text lcd handle. |
cursorState | The state of the cursor. Gets the cursor blink state. |
phid | An attached phidget text lcd handle. |
cursorBlinkState | The cursor blink state. Sets the cursor blink state. |
phid | An attached phidget text lcd handle. |
cursorBlinkState | The cursor blink state. Sets a custom character. See the product manual for more information. |
phid | An attached phidget text lcd handle. |
index | The custom character index (8-15). |
var1 | The first part of the custom character. |
var2 | The second part of the custom character. Sets a single character on the display. |
phid | An attached phidget text lcd handle. |
index | The row index. |
column | The column index. |
character | The character to display. Sets a row on the display. |
phid | An attached phidget text lcd handle. |
index | The row index. |
displayString | The string to display. Make sure this is not longer then CPhidgetTextLCD_getColumnCount. The Phidget TextLCD Adapter supports these screen sizes |
Definition at line 114 of file cphidgettextlcd.h.
Gets the number of Display supported by this TextLCD
phid | An attached phidget text lcd handle. |
count | The Screen count. Gets the active screen. |
phid | An attached phidget text lcd handle. |
screenIndex | The active screen. Sets the active screen. This is the screen that all subsequent API calls will apply to. |
phid | An attached phidget text lcd handle. |
screenIndex | The active screen. Gets the screen size. |
phid | An attached phidget text lcd handle. |
screenSize | The screen size. Sets the active screen size. Only supported on the TextLCD Adapter. |
phid | An attached phidget text lcd handle. |
screenSize | The screen size. Initializes the active screen. Only supported on the TextLCD adapter. This should be called if a screen is attached after power up, or to clear the screen after setting the size. |
phid | An attached phidget text lcd handle. |
Definition at line 1120 of file cphidgettextlcd.c.