Search code examples
microcontrollerpicaxe

About inputs in PICAXE 28X1


I have to check this inputs in BASIC with PICAXE 28X1:

enter image description here

But I have no clue how I'm supposed to do that.

A.0 or pinA.0 don't work, and input0 refers to pin 11.

So how can I check pins 2 - 5..?

Any help is appreciated~


Solution

  • The syntax was:

    porta pin0
    porta pin1
    porta pin2
       ···
    

    Hope this can help someone :)