by bbagnall » Sat Oct 20, 2007 5:50 pm
Hi Nat,
Just to expand on what Lawrie said, if these are I2C sensors you are talking about you would need to extend the I2C class and add some code to get the readings you are after. It's very simple to do, and you can see some examples in our UltrasonicSensor and ColorSensor code.
Right now we don't have a facility in leJOS NXJ to write to I2C sensors (we can just read data). Soon we should have read ability too, then it will open up the functionality of some more sensors.