ROBOTC.net forums
http://robotc.net/forums/

Robotc interface problems: Robotc for Pic
http://robotc.net/forums/viewtopic.php?f=11&t=5216
Page 1 of 1

Author:  artli_cheese [ Wed Dec 05, 2012 11:03 am ]
Post subject:  Robotc interface problems: Robotc for Pic

I want to connect 4 different ultrasonic sensors, but when I go set motor I get the option to choose interrupt port 1 and port 2, but I know physically there are 4 of them. What is the problem help?

Author:  JohnWatson [ Mon Dec 10, 2012 1:25 pm ]
Post subject:  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.

Page 1 of 1 All times are UTC - 5 hours [ DST ]
Powered by phpBB © 2000, 2002, 2005, 2007 phpBB Group
http://www.phpbb.com/