View unanswered posts | View active topics It is currently Fri Sep 19, 2014 1:53 pm






Reply to topic  [ 3 posts ] 
Debug Problem with sonar and quad encoders 
Author Message
Rookie

Joined: Sun Apr 21, 2013 4:14 pm
Posts: 3
Post Debug Problem with sonar and quad encoders
While i was programming my cortex robot I found that in robot C if I plugged a quad encoder into digital ports 7 and 8 and then a sonar into any of the next ports that in the debug window the sonar would take the place of the quad encoder. Dose anyone know why this is happening or how to fix it, and if it is a hardware problem or a code problem???


Sun Apr 21, 2013 4:27 pm
Profile
Online
Site Admin
Site Admin

Joined: Thu May 24, 2012 12:15 pm
Posts: 578
Post Re: Debug Problem with sonar and quad encoders
I have just tested this in 3.60 and was unable to replicate the problem; which version of ROBOTC is giving you this issue? Does this problem occur on other ports as well, or only ports 7 & 8? Also, when you say the Sonar Sensor is setup on the 'next ports', do you mean ports 9 & 10, or are you setting the Sonar Sensor to port 8?

The more in-depth information you are able to provide us about this particular issue, the better we will be able to assist you. We will also need to see the code (using the [code] tags) to check for any programming problems.

_________________
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 Apr 22, 2013 12:30 pm
Profile
Rookie

Joined: Sun Apr 21, 2013 4:14 pm
Posts: 3
Post Re: Debug Problem with sonar and quad encoders
This was a while ago so I will test it agin and record all the details so you can help me better.


Tue Apr 23, 2013 10:18 pm
Profile
Display posts from previous:  Sort by  
Reply to topic   [ 3 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.