Hi,
I have problems with OWOUT and picaxe 28x1 chips. Whenever OWOUT is called, the chip pretty much resets istself.
Readtemp has no issues.
Below is the code and output from sertxd
======= Terminal window: -=============
START-readtemp
T1=21
Main Loop
1START-readtemp
T1=21
Main Loop
1START-readtemp
T1=21
Main Loop
1
=======
as you can see, the program never reaches the "owout sent" line. Another intersting thing is that the OWOUT outputs a "1" to the serial port. I have a LCD connected as well, that also receives data at that time. Though it shouldnt!
Any ideas? I thought the chip was busted, but replaced it with another one without any success.
I run everything on a picaxe experimenter board, so connections should be solid and clean.
I have problems with OWOUT and picaxe 28x1 chips. Whenever OWOUT is called, the chip pretty much resets istself.
Readtemp has no issues.
Below is the code and output from sertxd
Code:
SERtxd ("START-readtemp",13,10)
readtemp 1, b0
PAUSE 750
SERtxd ("T1=",#b0,13,10)
pause 100
main:
sertxd ("Main Loop",13,10)
owout 1, %1001, ($CC,$44)
sertxd ("ouwout sent. Waiting",13,10)
pause 750
sertxd ("Wait over",13,10)
owout 1,%0001,($CC,$BE)
owin 1, %0000, (b0,b1) '
goto main
======= Terminal window: -=============
START-readtemp
T1=21
Main Loop
1START-readtemp
T1=21
Main Loop
1START-readtemp
T1=21
Main Loop
1
=======
as you can see, the program never reaches the "owout sent" line. Another intersting thing is that the OWOUT outputs a "1" to the serial port. I have a LCD connected as well, that also receives data at that time. Though it shouldnt!
Any ideas? I thought the chip was busted, but replaced it with another one without any success.
I run everything on a picaxe experimenter board, so connections should be solid and clean.