I have a 28X-1 on a project board the code running on it is as follows:
the problem is when it run it in the simulator it works fine but it does not work when I compile it to the picaxe chip I am using programming editor v5.2.10 and the pic firmware on the pic is A.3 I'm sure the picaxe works
I've try putting a return after the data I send in terminal but it doesn't make a difference
the data I send is in the form of 1,2,3 and the 3rd variable seems to be missed off every time so the data sent back is 1,2
any help greatly appreciated
Radcom
Code:
Disconnect
setfreq m8
sertxd("ok")
do
goto main
outputs:
high 7
if b2 = 1 then high b1 endif
if b2 = 0 then low b1
endif
main:
serrxd b0,b1,b2
'let pins = b0
'let b1 = b1
sertxd(b0,b1,b2)
if b0 = 1 then goto outputs' else goto main endif
loop
I've try putting a return after the data I send in terminal but it doesn't make a difference
the data I send is in the form of 1,2,3 and the 3rd variable seems to be missed off every time so the data sent back is 1,2
any help greatly appreciated
Radcom
Last edited by a moderator: