Cortex digital port limit


So I am using RobotC 3.5 and I have noticed when I use all digital ports for two wire Encoders and Sonars it turns off one of the sensors. This is what I tested and noted

Ports {1,2}, {3,4} , {5,6}, {7,8}, {9,10), {11,12}port {3,4} sensor turns off.
Ports {1,2}, {3,4} , {5,6}, {7,8}, {9,10), port {3,4} sensor turns off.
Ports {1,2}, {3,4} , {5,6}, {7,8}, {11,12} no sensors turn off
Ports {3,4} , {5,6}, {7,8}, {9,10), {11,12} port {3,4} sensor turns off.

I plan on testing another cortex and try robotc 3.6.

Has any one seen this issue? Know how to fix this? Why this is happening?

Michael Wallace

Ports 4 & 10 share an interrupt whih when used with these kinds of sensors don’t play well with each other.

I asked this same question last year as I could not remember the answer:

Well that’s a bummer. Thanks for the response.

Michael Wallace