Possible bug in programmer

steve74192

New Member
I have been using v5.5.6 of the programmer for a while now
and as i have purchased a Oled AXE134Y recently i also decided
to update my programmer to the new v6.0.8.3.
When i tried to run a simulation of some code i have been using for about 3 years
now it suddenly has a syntax error which has never shown before in
any earlier versions.
Could this just be a bug in the new software or is it i was just lucky
to get away with it in past versions.
I am using a CHI035A High power board with L293D and a 18m2 which is running a stepper motor.
The line i have a problem with is "let pins = b2"


setfreq m32
let dirsb = %11110000
pause 1000
for w2 = 0 to 600
pause 6
gosub lstep2
next w2
end
lstep2: let b1 = b1 + 1
goto mystep2

mystep2:
let b1 = b1 & 7
lookup b1,(%10100000,%10000000,%10010000,%00010000,%01010000,%01000000,%01100000,%00100000),b2
let pins = b2
return


Thanks
Steve
 

hippy

Ex-Staff (retired)
Welcome to the PICAXE forum.

Change "pins=" to "pinsB=" and everything should then be okay.

PE5 does seem to be auto-converting "pins=" to "pinsB=" where PE6 does not. Whether PE5 should not be doing that or PE6 should I cannot say for sure, I would need to pass that question on.
 
Top