40x1 input output pins

sbscott

Senior Member
This is probably an easy question..on the 40x1, I see the standard 8 in and 8 output pins but I am not sure how is use the other (pins 15-18, 26-23) as out or input pins. Can they be used as normal in/out pins? How do you address them?

Thanks.
 

westaust55

Moderator
40X1 portC pins

More specifically in the latest and other recent versions of Manual 1:
Appendix F – Configuring PICAXE-40X / 40X1 Input-Output Pins

This appendix also covers the portA and portE pins as well (physical legs 2 to 5 and 8 to 10 respectively)

PortC pins have a much reduced control capability.

the HSEROUT & HSERIN commands are fixed to the portC pins C6 and C7),
but other commands such as
SERIN, SEROUT, SHIFTIN, SHIFTOUT, PULSIN, PULSOUT, etc will also not operate on Port A or Port C.


Commands (other than i2c and spi functions, PWM1/2 with dedicated port C pin allocations on the 40X1) that will work with PortC are:
DIRSC, HIGH PORTC, LOW PORTC, PINSC
 
Last edited:
Top