Chameleon-AVR Nurve Networks, Chameleon-AVR Datasheet - Page 251

MCU, MPU & DSP Development Tools AVR8 & PROPELLER DEV SYSTEM (SBC)

Chameleon-AVR

Manufacturer Part Number
Chameleon-AVR
Description
MCU, MPU & DSP Development Tools AVR8 & PROPELLER DEV SYSTEM (SBC)
Manufacturer
Nurve Networks
Datasheet

Specifications of Chameleon-AVR

Processor To Be Evaluated
AVR 328P
Data Bus Width
8 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
© 2009 NURVE NETWORKS LLC “Exploring the Chameleon AVR 8-Bit”
After Adding New Messages
I have highlighted the two new message id’s. That’s all there is to it. The selection of 100,101 are a bit random, I could
have used 65,66, or I could have used a single id and then used one of the data bytes to control on/off. But, I thought this
would be a little more illustrative.
Now that we have the message ids, we need to process the messages and do something. A bit of investigation of the
schematic and the boot code shows that I/O P25 is connected to the status LED. In fact, the boot code that blinks the LED
3 times during boot looks like this:
Therefore, this code already sets up the I/O direction of the port bit, all we need to do is add the two messages that set
the port bit LOW and HIGH. Reviewing the main message dispatcher loop, we simple find the last message processed
and add a couple more messages. Here’s that section before and after again:
Before
251

Related parts for Chameleon-AVR