View unanswered posts | View active topics It is currently Wed Aug 27, 2014 11:11 am






Reply to topic  [ 2 posts ] 
Robotc interface problems: Robotc for Pic 
Author Message
Rookie

Joined: Wed Dec 05, 2012 11:00 am
Posts: 9
Post 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?


Wed Dec 05, 2012 11:03 am
Profile
Site Admin
Site Admin

Joined: Thu May 24, 2012 12:15 pm
Posts: 566
Post 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 Wiki and our Forums.

I just met you,
And this is crazy,
But here's my code now,
So fix it, maybe?
~ Carly Rae Jepsen parody


Mon Dec 10, 2012 1:25 pm
Profile
Display posts from previous:  Sort by  
Reply to topic   [ 2 posts ] 

Who is online

Users browsing this forum: No registered users and 2 guests


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot post attachments in this forum

Search for:
Jump to:  



Powered by phpBB © 2000, 2002, 2005, 2007 phpBB Group.
Designed by ST Software for PTF.