AnalogInput _ir;
@Override
protected void setup() throws ConnectionLostException, InterruptedException
{
..
...
_ir = ioio_.openAnalogInput(40);
....
..
}
@Override
public void loop() throws ConnectionLostException {
..
....
float value = _ir.getVoltage();
....
..
}
--
You received this message because you are subscribed to the Google Groups
"ioio-users" group.
To unsubscribe from this group and stop receiving emails from it, send an email
to [email protected].
To post to this group, send email to [email protected].
Visit this group at http://groups.google.com/group/ioio-users.
For more options, visit https://groups.google.com/d/optout.