This is where you talk about the NXJ hardware related topics such as the brick, sensors, LEGO pieces, etc
Moderators: roger, 99jonathan, imaqine
by BCBGleJOS » Mon Feb 15, 2010 9:02 am
Hi all,
We want to make an API to create graphical components for each motors and sensors.
We wanted to ask if it was possible to detect the type of a sensor plugged in a specific port using PC API?
Thank you.
-
BCBGleJOS
- New User
-
- Posts: 1
- Joined: Mon Feb 15, 2010 8:50 am
by gloomyandy » Mon Feb 15, 2010 10:15 am
Hi,
In general no it is not possible to detect the type of sensor attached to a sensor port. You may want to see this thread which covers similar issues (though not for leJOS the issues are pretty much the same):
http://forums.nxtasy.org/index.php?showtopic=4689
Note that some of the techniques described in the above will probably need code on the NXT...
Andy
-

gloomyandy
- leJOS Team Member
-
- Posts: 3003
- Joined: Fri Sep 28, 2007 2:06 pm
- Location: UK
Return to NXJ Hardware
Who is online
Users browsing this forum: Google [Bot] and 1 guest