Hi,
this is the first time i'm using the sound encoder, but i'm writing the software in mikroC language. Does anyone here knows mikroC language (or C language)?
Where should i call the .C file function(below) from my main program?
void sound_data1() org (1 * 256)
{
asm retlw 0x12 ;
asm retlw 0x5E ; .....}
i tried to write like this:
PORTB.F4=sound_data1();
but i don't think is correct because there are 2 output ports from the PIC shown in the diagram.
// Digital ----------2R-----,
// |
// Digital ----------2R-----*----- Analogue
// | out
// |
// |
// C = 0.22 uF
// |
// |
// |
// Gnd
Thanks !!!
Bookmarks