According to the Picaxe Manual 2...
...to reverse the 8 bits of %10110000 (to %00001101) the command would be
let b1 = %00001101 REV 8
In an attempt to form a better understanding of this I tried the following test program but a syntax error is reported on line 3 when I try to simulate it...
start:
for b0 = 1 to 8
let b1 = %00001101 REV b0
let pins = b1
pause 1000
next b0
goto start
Can anyone explain?
aeg
...to reverse the 8 bits of %10110000 (to %00001101) the command would be
let b1 = %00001101 REV 8
In an attempt to form a better understanding of this I tried the following test program but a syntax error is reported on line 3 when I try to simulate it...
start:
for b0 = 1 to 8
let b1 = %00001101 REV b0
let pins = b1
pause 1000
next b0
goto start
Can anyone explain?
aeg