wonder if my prop chip is fried? but surely if it was i wouldn't be able to program it would i?
Go back through the PEK Education Labs, and see if you can blink a LED on each pin. That will tell you if the Propeller is working. Run through the whole lab and you will understand much of what is being discussed here.
'
Comments
Golly gee. That doesn't sound like 2m_fm_modulation1.spin.
Go back through the PEK Education Labs, and see if you can blink a LED on each pin. That will tell you if the Propeller is working. Run through the whole lab and you will understand much of what is being discussed here.
'
I think it's time to hit the books.
_clkmode = XTAL1 + PLL16X _xinfreq = 5_000_000 { FFFF_FFFF / (CLKFREQ / (80Mhz / PLL16)) } c80mhz = %0001_0000__0000_0000__0000_0000__0000_0000 { FFFF_FFFF / (CLKFREQ / (100Mhz / PLL16)) } c100mhz = %0001_0100__0000_0000__0000_0000__0000_0000 { FFFF_FFFF / (CLKFREQ / (140Mhz / PLL16)) } c140mhz = %0001_1100__0000_0000__0000_0000__0000_0000 { FFFF_FFFF / (CLKFREQ / 6.550Mhz) } c6p550mhz = 351_650_447 { FFFF_FFFF / (CLKFREQ / 6.500Mhz) } c6p500mhz = 348_966_092 PUB Main | cog VCFG := %10 << 29 + COGID << 23 + %1000_0000 'set for broadcast aural on pin 7 using this COG CTRB:=%00001_111 << 23 'setup the broadcast PLL internal 16x FRQB:=c80mhz 'start the PLL PlayWAV 'play PUB PlayWAV | p, time, x DIRA[7]~~ CTRA:=%0001_011 << 23 'setup internal PLL 1x x:=clkfreq/11025 'sample rate repeat p := @beback + 44 time := cnt repeat while p++ < @end FRQA := c6p500mhz + byte[p] << 14 'modulate carrier and amplify the sample waitcnt(time += x) waitcnt(clkfreq + cnt) DAT beback byte File "expectu.wav" end byte 0Is it just the fact that they are both using the same transmit pin ?