I used several smaller PICAXEs about five years ago for projects, but I have not done any more with them since then- until now. I am doing a project using a 28X2, because I need to use almost all the I/O pins. I am absolutely fine with the hardware aspects, but very rusty with the programming, having to almost start again and relearn it all. This is probably a very naive question, but I cannot find the answer.
I am trying to work out how to read 4 (of the possible 5) pins of Port A (used as inputs) and 6 of the possible 8 pins of Port C (used as inputs, with the remaining two used as outputs), as bytes. i.e. read Port A as one group, and then Port C as a second group. I can then manipulate the bits to do what I want to do.
How do I do this?
Thank you.
I am trying to work out how to read 4 (of the possible 5) pins of Port A (used as inputs) and 6 of the possible 8 pins of Port C (used as inputs, with the remaining two used as outputs), as bytes. i.e. read Port A as one group, and then Port C as a second group. I can then manipulate the bits to do what I want to do.
How do I do this?
Thank you.