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

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
Description:
Example(s):
Sound_Play(0, 440, 3);
_________________________________________________________________________________________________
Function Prototype:
Description:
Example(s):
for (int ch = 0; ch < 4; ch++)
_________________________________________________________________________________________________
Function Prototype:
Description:
Example(s):
Sound_StopAll();
_________________________________________________________________________________________________
Function Prototype:
Description:
Example(s):
Sound_Play(0, 100, 0);
for (int f = 100; f < 1000; f++)
_________________________________________________________________________________________________
Sound_Stop( ch );
{
Sound_Update( 0, f, 200);
DELAY_MS(10);
} // end for
int Sound_Stop(int channel);
int Sound_StopAll(void);
int Sound_Update(int channel, int frequency, int volume);
Instruct sound channel 0 to play 440hz for 3 seconds.
Stop all channels manually.
Stop all playing sounds.
Start channel 0 at 100 Hz and sweep to 1000 Hz, at 10 msec intervals.
are channel (0..3), frequency (0...2000) Hz, duration (0..7) seconds where 0 means to play forever.
Returns 1.
can modify channel’s current frequency and volume. Of course, the parameters must be in range;
frequency (0...2000) and volume (0..255), where 0 means to leave as is. Returns 1.
Sound_Play(...) instructs the driver to play a single tone on one of the sound channels. The parameters
Sound_Stop(...) stops the sound playing on channel channel. Returns 1.
Sound_StopAll() stops all sound channels and silences them. Returns 1.
Sound_Update(...) allows you to update a sound channel (0..3) “on the fly” without interrupting it. You
© 2009 NURVE NETWORKS LLC “Exploring the Chameleon PIC 16-Bit”
197

Related parts for Chameleon-PIC