14M

Tallents

New Member
Trying to turn on pin 5&6 as Outputs on the 14M while retaining pins 8 - 13 as Outputs. I've tried "let dirsc = ..." but anything over 00011111 returns an error "values greater than 65535 are not supported" I don't understand. I thought 11111111 was only 256. Is this a bug in the compiler?
 

Tallents

New Member
Just playing around, but is portc meant to overlap portb? This is very annoying because any high/low command swaps the control Outputs 8,9 & 10 from port c to b & any high/low portc command swaps the control back again of the 3 overlapping outputs. This seems like ridiculous behaviour. An I confused again?
 

Technical

Technical Support
Staff member
Please see the 14M appendix at the rear of the manual part 1. It is confusing, but the appendix explains.

There is no such thing as a portb on 14M parts.

You can either use the default PICAXE 'input / output ports' (input on left / output on right) or for greater flexibility use 'portc' to control the bottom 6 pins.

%11111111 is actually 255 ! Your first >65535 error was because you forgot the %
 
Last edited:
Top