BTX
05-14-2008, 08:17 AM
Hi all.
I've waste many time, looking why some of my code wont work.
Until I discovered this:
ie. you have:
_clkmode = xtal1 + pll16x
_xinfreq = 5_000_000
PUB Main | i
dira[20]:=1
repeat
!outa[20]
waitcnt(clkfreq + cnt)
If you have some line open in the PCB, of the XTAL pins, propeller IDE will compile it, load it in RAM/EEPROM and execute ....but the code wont work.
Should not there be a way to detect this ?
▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔
Regards.
Alberto.
I've waste many time, looking why some of my code wont work.
Until I discovered this:
ie. you have:
_clkmode = xtal1 + pll16x
_xinfreq = 5_000_000
PUB Main | i
dira[20]:=1
repeat
!outa[20]
waitcnt(clkfreq + cnt)
If you have some line open in the PCB, of the XTAL pins, propeller IDE will compile it, load it in RAM/EEPROM and execute ....but the code wont work.
Should not there be a way to detect this ?
▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔
Regards.
Alberto.