![]()
Provides high level support for the µTerm LCD & keypad. Since there can be multiple µTerm modules on the uConnect bus, each function call must specify an I2C address for the target µTerm. These functions are complete, implementing all the I2C protocol necessary to complete their task, including starting & stopping the I2C transaction. Note that many of these functions are implemented as macros.
Clears the screen of the µTerm specified by addr.
Move the cursor on the µTerm specified by addr to location row,col.
Turn the cursor off on the µTerm specified by addr.
Make the cursor flash on the µTerm specified by addr.
Turns the display off (makes the contents invisible) on the µTerm specified by addr.
Turns the display on (makes the contents visible) on the µTerm specified by addr.
Makes the display flash on the µTerm specified by addr.
Plot a bar of length val pixels, starting at the current cursor location on the µTerm specified by addr.
Set the buzzer pattern on the µTerm specified by addr.
Flush the key buffer on the µTerm specified by addr.
Sound the buzzer for a short single beep.
Send a single character to the µTerm specified by addr. Note this may be a character for display or part of a control string.
Send a string of characters to the µTerm specified by addr. Note that the string may contain both characters for display and control characters. However since the string is null terminated it cannot contain any null characters as part of a control sequence.
Send a formatted string to the µTerm specified by addr. See the xprintf module for the specification of the format.
Returns the next key from the key buffer on the specified µTerm.This function returns 0 if the keybuff is empty, else it returns the scan code of the next key.
Defines a custom character on the µTerm specified by addr. def is a pointer to a 9 element array of bytes, Element 0 should contain the code for the custom character to write, the following 8 elements contain the bit pattern for the custom character. Please see the µTerm manual for details of the construction of custom character bit patterns.
Home | Products | Technical Info | How to Order | Contact Us | Links