Commands that will or will not work on PortA and Port C pins

westaust55

Moderator
As an extension adjunct to the thread “hserout on portc 6”,
in reading the mentioned thread and looking further at the PICAXE manual am I correct in my understanding that for the PortA and PortC pins, that in addition to the HSEROUT & HSERIN commands (which is fixed to the portC pins C6 and C7), other commands such as
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 PortA and PortC are:
DIRSC, HIGH PORTC, LOW PORTC, PINSC

Seems I will be up for some re-allocation of the I/O on my partly completed "PICAXE Experimenting Box"
 
Last edited:

hippy

Ex-Staff (retired)
Yes, that's right. There is only limited control over Port C, most commands only operate with respect to the 'default input pins' and 'default output pins'.
 

westaust55

Moderator
Port C commands

Thanks Hippy.

I guess I should be happy that I picked this up while still planning and building and not once all the hardware was assembled. Mind you hardware not that hard to alter.
 
Top