|
Page 1 of 1
|
[ 2 posts ] |
|
Robotc interface problems: Robotc for Pic
| Author |
Message |
|
artli_cheese
Rookie
Joined: Wed Dec 05, 2012 11:00 am Posts: 9
|
 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 |
|
 |
|
JohnWatson
Site Admin
Joined: Thu May 24, 2012 12:15 pm Posts: 380
|
 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 |
|
|
|
Page 1 of 1
|
[ 2 posts ] |
|
Who is online |
Users browsing this forum: No registered users and 3 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
|
|