Phidget TextLED
[Specific Phidgets]


Typedefs

typedef struct _CPhidgetTextLED * CPhidgetTextLEDHandle

Functions

int CPhidgetTextLED_create (CPhidgetTextLEDHandle *phid)
int CPhidgetTextLED_getRowCount (CPhidgetTextLEDHandle phid, int *count)
int CPhidgetTextLED_getColumnCount (CPhidgetTextLEDHandle phid, int *count)
int CPhidgetTextLED_getBrightness (CPhidgetTextLEDHandle phid, int *brightness)
int CPhidgetTextLED_setBrightness (CPhidgetTextLEDHandle phid, int brightness)
int CPhidgetTextLED_setDisplayString (CPhidgetTextLEDHandle phid, int index, char *displayString)

Detailed Description

These calls are specific to the Phidget Text LED 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.

Typedef Documentation

typedef struct _CPhidgetTextLED* CPhidgetTextLEDHandle

A Phidget TextLED handle


Function Documentation

int CPhidgetTextLED_create ( CPhidgetTextLEDHandle phid  ) 

Creates a Phidget TextLED handle.

Parameters:
phid A pointer to an unallocated Phidget TextLED handle.

int CPhidgetTextLED_getRowCount ( CPhidgetTextLEDHandle  phid,
int *  count 
)

Gets the number of rows supported by this display.

Parameters:
phid An attached phidget text led handle.
count The row count.

int CPhidgetTextLED_getColumnCount ( CPhidgetTextLEDHandle  phid,
int *  count 
)

Gets the number of columns per supported by this display.

Parameters:
phid An attached phidget text led handle.
count The Column count.

int CPhidgetTextLED_getBrightness ( CPhidgetTextLEDHandle  phid,
int *  brightness 
)

Gets the last set brightness value.

Parameters:
phid An attached phidget text led handle.
brightness The brightness (0-100).

int CPhidgetTextLED_setBrightness ( CPhidgetTextLEDHandle  phid,
int  brightness 
)

Sets the last set brightness value.

Parameters:
phid An attached phidget text led handle.
brightness The brightness (0-100).

int CPhidgetTextLED_setDisplayString ( CPhidgetTextLEDHandle  phid,
int  index,
char *  displayString 
)

Sets a row on the display.

Parameters:
phid An attached phidget text led handle.
index The row index.
displayString The string to display. Make sure this is not longer then CPhidgetTextLED_getColumnCount.


Generated on Wed Jan 5 12:08:42 2022 for Phidget21 by  doxygen 1.5.9