G'day All,
I'm finally programming a 40x that I purchased about 2 years ago.
When I first started playing with picaxe, I bought one at each end of the spectrum as I really didn't know what I was playing with, (2 08Ms, 1 18X and a 40X)
I'm a little lost on how I am meant to use port A on the 40X.
My 40X reports as the following:
Firmware Version 7.8
(PICAXE-28X(40X) Firmware Version 8)
My Program Editor is v5.20.0
Maybe it is the manual has been updated a little since the 40X was the choice, but I can't find much on how to use this port.
Maybe it's just me.
if porta 0=1
if pinsA=$0f
let b1 = pinsA
All of these return a syntax or symbol error.
READADC 0,b1
This appears to check out OK.
I would like to read port A (a0 to a4) as a byte to a register if possible, but I would be happy to check it with a series of if-then if I have to.
Please help.
Jamie
I'm finally programming a 40x that I purchased about 2 years ago.
When I first started playing with picaxe, I bought one at each end of the spectrum as I really didn't know what I was playing with, (2 08Ms, 1 18X and a 40X)
I'm a little lost on how I am meant to use port A on the 40X.
My 40X reports as the following:
Firmware Version 7.8
(PICAXE-28X(40X) Firmware Version 8)
My Program Editor is v5.20.0
Maybe it is the manual has been updated a little since the 40X was the choice, but I can't find much on how to use this port.
Maybe it's just me.
if porta 0=1
if pinsA=$0f
let b1 = pinsA
All of these return a syntax or symbol error.
READADC 0,b1
This appears to check out OK.
I would like to read port A (a0 to a4) as a byte to a register if possible, but I would be happy to check it with a series of if-then if I have to.
Please help.
Jamie