Chameleon-PIC Nurve Networks, Chameleon-PIC Datasheet - Page 224
![MCU, MPU & DSP Development Tools PIC24 & PROPELLER DEV SYSTEM (SBC)](/photos/15/93/159367/cham_pic_sml.jpg)
Chameleon-PIC
Manufacturer Part Number
Chameleon-PIC
Description
MCU, MPU & DSP Development Tools PIC24 & PROPELLER DEV SYSTEM (SBC)
Manufacturer
Nurve Networks
Datasheet
1.CHAMELEON-PIC.pdf
(263 pages)
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
- Current page: 224 of 263
- Download datasheet (12Mb)
I have highlighted the single call to the mouse read function. One thing to note is that the mouse read function takes a
pointer to an gid_event structure, this is a generic structure that can potentially be used for other input devices such as
game controllers, track balls etc.
Summary
31.1 Serial, FLASH, and Port I/O Device Demos
The next group of demos illustrate the Serial port, FLASH memory, and Propeller Port I/O functionality. As usual, the
demos try to do something graphical, so they always support NTSC output and some might support VGA output as well.
But, they all usually use nothing more than text terminal graphics, so added VGA support is a couple lines of code.
The examples typically consist of the primary source file for the demo as well as:
// motion clamping
if (event.x < -2)
else
if (event.x > 2)
if (event.y < -2)
else
if (event.y > 2)
// update position
x += event.x;
y -= event.y;
// draw on both screens
NTSC_SetXY( x, y );
NTSC_Term_Char( cursor );
VGA_SetXY( x, y/2 );
VGA_Term_Char( cursor );
// slow things down a bit
DELAY_MS( 5 );
} // end while
{
// update the cursor character
if (++cursor >= (32+144))
} // end if
event.x = -2;
event.y = -2;
cursor = 33;
event.x = 2;
event.y = 2;
This demo once again shows how easy it is to interface peripherals to
the Chameleon with the Propeller doing all the work. Something that
might be fun to do is add a bitmap NTSC or VGA driver to the master
Propeller driver and then create a true paint program that allows pixel
level painting, filling, etc. and create something like the famous DPaint
that we used to use to make games in the 80’s and 90’s!
© 2009 NURVE NETWORKS LLC “Exploring the Chameleon PIC 16-Bit”
224
Related parts for Chameleon-PIC
Image
Part Number
Description
Manufacturer
Datasheet
Request
R
![XGS-AVR](/photos/15/93/159368/xgs_avr_tmb.jpg)
Part Number:
Description:
MCU, MPU & DSP Development Tools AVR8 VIDEO GAME DEV SYSTEM (SBC)
Manufacturer:
Nurve Networks
![XGS-PIC](/photos/15/93/159369/xgs_pic_tmb.jpg)
Part Number:
Description:
MCU, MPU & DSP Development Tools PIC24 VIDEO GAME DEV SYSTEM (SBC)
Manufacturer:
Nurve Networks
![Chameleon-AVR](/photos/15/93/159376/cham_avr_tmb.jpg)
Part Number:
Description:
MCU, MPU & DSP Development Tools AVR8 & PROPELLER DEV SYSTEM (SBC)
Manufacturer:
Nurve Networks
Datasheet: