|
Page 1 of 1
|
[ 2 posts ] |
|
Hitechnic Multiplexor with Proto-board
| Author |
Message |
|
TRWSHSHLX
Rookie
Joined: Thu Nov 10, 2011 3:52 am Posts: 1
|
 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 |
|
 |
|
mightor
Moderator
Joined: Wed Mar 05, 2008 8:14 am Posts: 2865 Location: Rotterdam, The Netherlands
|
 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
_________________| Some people, when confronted with a problem, think, "I know, I'll use threads," | and then two they hav erpoblesms. (@nedbat)| My Blog: I'd Rather Be Building Robots| ROBOTC 3rd Party Driver Suite: [ Project Page]
|
| Thu Nov 10, 2011 4:18 am |
|
|
|
Page 1 of 1
|
[ 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
|
|