Try this:
private void turnOffLed()
{
if (btSocket!=null)
{
try
{
btSocket.getOutputStream().write("a\0".toString().getBytes());
}
catch (IOException e)
{
msg("Error");
}
}
}
--
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.