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

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
Compiling and Running the MPLAB/TextPad Bootloader Version
Demo Version Description:
Main Source File:
Additional Files Required:
General Requirements:
Controls Required:
Technical Overview
This demo uses the single keyboard API call Keyboard_Key() to read the keyboard. It then displays the key using both
integer as well as ASCII format. The listing below is an excerpt of the main() program:
int main()
{
int key;
char sbuffer[64]; // printing buffer
// Always call ConfigureClock first
SYS_ConfigureClock(MAX_FCY_RATE);
// initialize SPI
SPI_Init();
// give Propeller driver time to boot
DELAY_MS( 2500 );
// clear screens
NTSC_ClearScreen();
VGA_ClearScreen();
// set NTSC color
NTSC_Color(0);
NTSC_Term_Print(" PS/2 Keyboard Demo");
NTSC_Term_Char( 0x0D );
NTSC_Term_Print(" Press keys on local keyboard.");
NTSC_Term_Char( 0x0D );
// set VGA color
VGA_Color(0);
VGA_Term_Char( 0x0D );
VGA_Term_Print(" Press keys on local keyboard.");
CHAM_PIC_SYSTEM_V010.c|h
CHAM_PIC_I2C_SPI_DRV_V010.c|h
CHAM_PIC_NTSC_DRV_V010.c|h
CHAM_PIC_VGA_DRV_V010.c|h
CHAM_PIC_KEYBOARD_DRV_V010.h
// run over and over again
// key that keyboard returns
Echos the local PS/2 Chameleon keyboard to the displays.
CHAM_PIC_KEYBOARD_DEMO_01.C
Video ports connected to NTSC or VGA monitors.
PS/2 keyboard plugged into Chameleon, simply type into the keyboard and watch the
output on the NTSC/VGA displays.
Figure 30.1 – Keyboard demo in action.
© 2009 NURVE NETWORKS LLC “Exploring the Chameleon PIC 16-Bit”
221

Related parts for Chameleon-PIC