let bit0 = 1 actually sets bit7 and bit15

Alan 2004

New Member
I am a new user so I am probably doing something dumb.

After debugging my program the problem is the following:

let bit0 = 1 ' sets bit7 and bit15 the first time
let bit0 = 1 ' sets bit0 anf bit8 the second time, bits7 and bit15 stay set
let bit1 = 1 ' sets bit6 and bit14
let bit1 = 1 ' sets bit1 and bit9

and so on

I am using ISIS for OPICAXE VSM version 7.2 SP4 build 4937. I have tried it with the O8M and 18X chips

Everything works fine in the Picaxe simulator.

Can anyone please tell what I am doing wrong?
 
Top