View unanswered posts | View active topics It is currently Sat Oct 31, 2020 6:30 pm

Reply to topic  [ 3 posts ] 
IR Drivers Xander 
Author Message

Joined: Tue Jul 17, 2012 8:11 pm
Posts: 20
Post IR Drivers Xander
For Xander's Driver's for IR sensor, is there any way to use it on two IR sensors connected to two separate ports and name them different things. I am only aloud to name the IR sensor HTIRS2 for it to work with the drivers, but I want to name the second IR sensor a different name and still be supported by the drivers. Is there any way to have two IR sensors supported by this driver with one being a different name so they don't conflict with each other?

Mon Feb 24, 2014 10:05 pm
User avatar

Joined: Sat Aug 31, 2013 9:15 am
Posts: 256
Post Re: IR Drivers Xander
Where'd you get the idea that you have to name it HTIRS2? We name our IR sensor "irRight" and it works just fine with the driver suite. You just have to pass the sensor name into whatever driver function you're calling. (For instance, HTIRS2readACDir(sensor_name).)

FTC Team 6100 Chariots of Fire - Programmer (2012-2013)
FTC Team 7468 Blue Chariots of Fire - Programmer (2013-2014)
FTC Team 7468 Blue Chariots of Fire - Mentor (2014-2015)
Check out our team website at

Mon Feb 24, 2014 10:55 pm
Site Admin
Site Admin
User avatar

Joined: Wed Mar 05, 2008 8:14 am
Posts: 3654
Location: Rotterdam, The Netherlands
Post Re: IR Drivers Xander
Please ask a question only in one place to avoid splitting conversations. The answer was posted here: viewtopic.php?f=41&t=8043

= Xander

| Professional Conduit of Reasonableness
| (Title bestowed upon on the 8th day of November, 2013)
| My Blog: I'd Rather Be Building Robots
| ROBOTC 3rd Party Driver Suite: [Project Page]

Tue Feb 25, 2014 4:18 am
Profile WWW
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.