I stumbled in a strange behaviour of Picaxe 28-X1. Try this code:
If the serout instruction is commented, everything works and line 2 toggles each time the processor wakes up. When something goes out on the serial line, the processor stops at the THIRD hibernate and never wakes up.
I looked in the forum to see if someone else experienced the same problem but did'nt find anything... very strange.
Can someone help me? Tks
--k
setfreq m_8
main:
hibernate 300
high 2
hibernate 300
low 2
' serout 3,T1200_8,("0000000000000000000000000000000000")
hibernate 300
high 2
goto main
main:
hibernate 300
high 2
hibernate 300
low 2
' serout 3,T1200_8,("0000000000000000000000000000000000")
hibernate 300
high 2
goto main
If the serout instruction is commented, everything works and line 2 toggles each time the processor wakes up. When something goes out on the serial line, the processor stops at the THIRD hibernate and never wakes up.
I looked in the forum to see if someone else experienced the same problem but did'nt find anything... very strange.
Can someone help me? Tks
--k
Last edited: