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

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.5 Dual NTSC / VGA Printing Demo
One of the cool things about the NTSC and VGA terminal tile drivers is they have the exact same base features. Which
means that porting your code to work on NTSC or VGA is usually a matter of changing API prefix function names from
“NTSC” to “VGA” and vice versa. Of course, the advanced “gaming” tile engine support is only for the NTSC driver;
however, no one is stopping you from using or making a more advanced VGA driver on the Propeller. I simply choose not
to this time around. In any case, this demo is just a “Hello World” demo that prints both on the NTSC and VGA monitors at
the same time to show you how easy this is. Figure 28.5 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 both the NTSC and VGA terminal API functions to print “Hello World” on both screens and scroll.
Here’s just the main() / loop() excerpt since this demo is nothing more than a copy of the NTSC and VGA versions
respectively and merged.
int main(void)
{
// Always call ConfigureClock first
SYS_ConfigureClock(MAX_FCY_RATE);
// initialize SPI
SPI_Init();
// clear screens
NTSC_ClearScreen();
VGA_ClearScreen();
// enter infinite loop...
CHAM_PIC_SYSTEM_V010.c|h
CHAM_PIC_I2C_SPI_DRV_V010.c|h
CHAM_PIC_VGA_DRV_V010.c|h
CHAM_PIC_NTSC_DRV_V010.c|h
// run over and over again
Figure 28.5 – Dual NTSC / VGA terminal printing demo.
Prints “Hello World” to both NTSC and VGA displays.
CHAM_PIC_NTSC_VGA_PRINT_DEMO_01.C
NTSC port connect to NTSC TV monitor and VGA port connected to VGA monitor.
None.
© 2009 NURVE NETWORKS LLC “Exploring the Chameleon PIC 16-Bit”
215

Related parts for Chameleon-PIC