Re: Robotc interface problems: Robotc for Pic
The reason you are only able to select two interrupt ports for sonar on the PIC is because of hardware limitations on the PIC itself. There are two internal timers on the PIC that can be used for the timing needed when using a Sonar sensor, and only certain ports can access these timers; thus, you can only use two sonar sensors at a time on the VEX PIC.
Check out our Blog
! And our Facebook page
Need help? Take a look at our updated help documentation
and the ROBOTC Forums.