View unanswered posts | View active topics It is currently Thu Sep 18, 2014 6:01 pm






Reply to topic  [ 2 posts ] 
Hitechnic Multiplexor with Proto-board 
Author Message
Rookie

Joined: Thu Nov 10, 2011 3:52 am
Posts: 1
Post Hitechnic Multiplexor with Proto-board
Hello,

I'm currently programming HTPB through the SMUX with Robotc 3.0.4 and everything works except it showed an error when I tried to use the HTPBsetupIO() function.

After going through the documentation it seems HTPBsetupIO() only works if the HTPB is connected directly to the NXT ports (S1 - 4, tSensors), unlike some of the other functions such as HTPBreadIO(), which can be used when it's connected to S1 - 4, or connected through SMUX (tMuxSensor, msensor_S#_#, # = 1 - 4).

Did I miss something or currently it's not in the drivers?

If not, is it possible to setup individual I/O ports on the HTPB when it's connected to a SMUX?

Thanks!

By the way, really appreciate the clean up of documentation and the sample programs for the HTPB! Also, the implement of SMUX through all the sensors instead of having an individual driver for it helps a lot also. Both the HTPB & SMUX related programs / drivers are much more user-friendly! Thank you!


Thu Nov 10, 2011 4:08 am
Profile
Moderator
Moderator
User avatar

Joined: Wed Mar 05, 2008 8:14 am
Posts: 3223
Location: Rotterdam, The Netherlands
Post Re: Hitechnic Multiplexor with Proto-board
You didn't miss a thing. Unfortunately, due to the way the HT Sensor MUX works, you cannot write to the sensors connected to it. That means that a call like HTPBsetupIO(); simply cannot be implemented, the SMUX just doesn't allow for it.
Trust me, if I could add such functionality to my suite, I would gladly do it.

- 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]


Thu Nov 10, 2011 4:18 am
Profile WWW
Display posts from previous:  Sort by  
Reply to topic   [ 2 posts ] 

Who is online

Users browsing this forum: No registered users and 1 guest


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.