Hardware Reference
In-Depth Information
Discussion
BoneScript makes it easy to interact with the physical world. Here, every time the status of
the pushbutton changes, flashLED() is called to update the state of the LED. BoneScript
is more than fast enough to respond to a human pushing a button. But instead of the switch,
what if you had a high-speed signal on the input, and what if you needed a device other
than an LED for the output? Would BoneScript be fast enough? It depends on what you
mean by “high speed.” If BoneScript isn't fast enough, check out Recipe 8.2 .
Search WWH ::




Custom Search