Argox PA-20 Programming Guide User Manual

Page 22

Advertising
background image

PT-20 Programming Guide

20

_putchar

Display a character in color black on the LCD display.

_putchar_color

Display a character in user define color on the LCD display.

_puts

Display a string in color black on the LCD display.

_puts_color

Display a string in color black on the LCD display.

show_image_bmp

Put a rectangular bitmap to the LCD display.

UserFont

DispFont_SetFont

Set user font from font file.

DispFont_GetFontInfo

Get font type,width and height.

TextBlock

SetTextBlockMode

Set TextBlock mode for single or multi layer.

GetTextBlockMode

Get TextBlock mode.

DefineTextBlock

Define TextBlock setting.

SetTextBlock

Enable the specific TextBlock.

ResetTextBlock

Disable the specific TextBlock.

PrintTextBlock

Print Text to specific TextBlock.

GetTextBlockCur

Get TextBlock current position.

SetTextBlockCur

Set specific TextBlock as active TextBlock and set position.

ShowTextBlockCursor

Show or hide TextBlock cursor.

TextBlock_SetBGColor

Set default background color.

TextBlock_SetBGImage

Set default background image for bmp file.

SwitchTextBlock

Switch TextBlock.

Communication Ports

clear_com

Clear receive buffer

close_com

To close specified communication port

com_cts

Get CTS level

com_eot

To see if any COM port transmission in process (End Of

Transmission)

com_overrun

See if overrun error occurred

com_rts

Set RTS signal

nwrite_com

Send a specific number of characters out through RS232

port

open_com

Initialize and enable specified RS232 port

read_com

Read 1 byte from the RS232 receive buffer

write_com

Send a string out through RS232 port

USB_Open

Initialize and enable USB port.

USB_Close

To close USB port

USB_Read

Read specific number of bytes from USB port.

USB_Write

Write specific number of bytes to the PC site.

Advertising