Chameleon-PIC Nurve Networks, Chameleon-PIC Datasheet - Page 171

MCU, MPU & DSP Development Tools PIC24 & PROPELLER DEV SYSTEM (SBC)

Chameleon-PIC

Manufacturer Part Number
Chameleon-PIC
Description
MCU, MPU & DSP Development Tools PIC24 & PROPELLER DEV SYSTEM (SBC)
Manufacturer
Nurve Networks
Datasheet

Specifications of Chameleon-PIC

Processor To Be Evaluated
PIC24
Data Bus Width
16 bit
Interface Type
USB, VGA, PS/2, I2C, ISP, SPI
Operating Supply Voltage
3.3 V, 5 V
Lead Free Status / RoHS Status
Lead free / RoHS Compliant
Function Name
Initialization
int NTSC_ClearScreen(void);
Positioning
int NTSC_GetXY(int *x, int *y);
int NTSC_SetXY(int x, int y);
Printing
int NTSC_Term_Char(char ch);
int NTSC_Term_Print(char *string);
int NTSC_Color(int col);
20.4 API Functional Declarations
The following lists each function, a description, comments, and example usage of the function.
________________________________________________________________________________________________
Function Prototype:
Example(s):
NTSC_ClearScreen();
_________________________________________________________________________________________________
Function Prototype:
Example(s): Retrieve the current cursor position.
int x,y;
NTSC_GetXY( &x, &y );
_________________________________________________________________________________________________
int NTSC_ClearScreen(void);
int NTSC_GetXY(int *x, int *y);
Description:
Clear the screen.
Description:
NTSC_GetXY(…) returns the position (column, row) of the virtual cursor. Depending on the driver
you are using, the (x,y) values have different possible ranges. For the Default2 driver they are
[0..31, 0..23]. The function takes two pointers to the integer variables you want to receive the
values. Returns 1.
NTSC_ClearScreen() simply clears the NTSC terminal screen and fills the screen with
spaces. Returns 1.
Table 20.1 – “NTSC” module API functions listing.
Description
Clears the NTSC screen.
Gets the current cursor position on the terminal.
Sets the current position on the terminal.
Prints a single character to the terminal at the current cursor position.
Prints a NULL terminated string to the terminal.
Sets the color of the text.
© 2009 NURVE NETWORKS LLC “Exploring the Chameleon PIC 16-Bit”
171

Related parts for Chameleon-PIC