I/O assignment

TerryRy

Member
The PICAXE chips have very flexible I/O assignment. I'm using the 20M2 in a project and can live with the fact that Logicator restricts (for simplicity) the ability to assign inputs to C0 - C7 and outputs to B0 - B7. The ReadADC appears to allow assignment only to C0, C1 and C2 which will mean a rewire to comply with this in my hardware. I can live with this as well but what I don't understand is that when I open the View -> Analogue Panel I get 4 variables A0, A1, A1, and A3. What's happening here, should this be A0, A1, A2 an A3 with A3 performing no function?

Any clarification would be helpful.

PS: The use of the term 'pin' to refer to outputs and inputs in assignment dropdowns when they are not IC pins is also confusing at first.

Late edit to this post.:)

I had the 18M2 Selected and not 20M2 as thought. 20M2 allows ADC channels on C1,2,3 and 7 which can all be ADC input if required. Back to more hardware changes.
 
Last edited:
Top