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

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 Prototype:
Parameters:
Return:
Description:
Example(s):
// headers and globals go here…
int main (void)
{
}
_____________________________________________________________________________________________
Function Prototype:
Parameters:
Return:
Description:
Example(s):
// headers and globals go here…
int main (void)
{
}
Unsigned char ReadValue;
// Always call SYS_ConfigureClock first after main() begins
SYS_ConfigureClock(MAX_FCY_RATE);
// initialization code goes here…
UART_Init(115200);
// Reset the VT100 terminal to its defaults
UART_vt100Init();
// continue code…
Unsigned char ReadValue;
while(UART_getchar(&ReadValue) == 0);
UART_Newline();
UART_puts(“You entered: ”);
UART_putchar(ReadValue);
UART_Newline();
void UART_vt100Init(void);
void UART_vt100ClearScreen(void);
None.
UART_vt100Init(…) sends out the terminal emulation mode to signal a VT100 reset. This resets all
terminal settings back to their defaults. VT100 emulation is a simple escape sequence of commands you
can send to a VT100 terminal or emulator program to be able to have more control than just printing text
to the screen. The Cham PIC UART driver only provides a small subset of what is available, but provides
enough to do many interesting effects.
This example shows a simple usage scenario.
None.
UART_vt100ClearScreen(…) blanks out the terminal screen that is connected to the Cham PIC. You
have to use a VT100 aware terminal emulator and set its mode to VT100 emulation for this command to
work.
This example shows a simple usage scenario.
None.
None.
// Echo it back
// Configure clock for max
© 2009 NURVE NETWORKS LLC “Exploring the Chameleon PIC 16-Bit”
152

Related parts for Chameleon-PIC