This is where you talk about the NXJ hardware related topics such as the brick, sensors, LEGO pieces, etc.
Moderators: roger, imaqine, 99jonathan
- New User
- Posts: 1
- Joined: Mon Feb 15, 2010 8:50 am
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?
- leJOS Team Member
- Posts: 5226
- Joined: Fri Sep 28, 2007 2:06 pm
- Location: UK
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):
Note that some of the techniques described in the above will probably need code on the NXT...
Return to “NXJ Hardware”
Who is online
Users browsing this forum: No registered users and 0 guests