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

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
28.1.4 VGA Printing Demo
This demo simply uses the VGA terminal API to print “Hello World” to the VGA screen. Figure 28.4 shows the demo in
action.
Compiling and Running the MPLAB/TextPad Bootloader Version
Demo Version Description:
Main Source File:
Additional Files Required:
General Requirements:
Controls Required:
Technical Overview
The demo simply uses the VGA API to print “Hello World” on the screen. When the printing reaches the bottom of the
screen the terminal scrolls the screen image up one line. The program is so short, let’s take a quick peek at only the
contents of main():
/////////////////////////////////////////////////////////////////////////////////////////////////////
// MAIN /////////////////////////////////////////////////////////////////////////////////////////////
/////////////////////////////////////////////////////////////////////////////////////////////////////
int main(void)
{
// Always call ConfigureClock first
SYS_ConfigureClock(MAX_FCY_RATE);
// initialize SPI
SPI_Init();
// give Prop a moment before sending it commands, the boot process is about a second
// if you like you can speed it up, by removing the Prop driver's "LED blink" sequence in the driver
// or speed it up, but commands that are sent before the Prop driver is done booting will be ignored.
// therefore, if you have a lot of set up work to do, then you don't require a delay, but if you jump right
// into commands, then you need a good 1.5 - 2 second delay
DELAY_MS( 2500 );
// clear screens
VGA_ClearScreen();
CHAM_PIC_SYSTEM_V010.c|h
CHAM_PIC_I2C_SPI_DRV_V010.c|h
CHAM_PIC_VGA_DRV_V010.c|h
VGA version prints “Hello World” to screen.
CHAM_PIC_VGA_PRINT_DEMO_01.C
VGA port connected to VGA monitor.
None.
Figure 28.4 – VGA terminal printing demo.
© 2009 NURVE NETWORKS LLC “Exploring the Chameleon PIC 16-Bit”
213

Related parts for Chameleon-PIC