Hardware Reference
In-Depth Information
As before, call
onButtonRead
when the value is read.
If no error, update the element with
id="buttonStatus"
.
Finally, wait 20 ms and start all over again.
We've just opened up a whole now world with the Bone. Now, you can easily grab data
from the physical world via sensors on the Bone and display it in a browser anywhere in
the world.