Hardware Reference
In-Depth Information
Discussion
Many of the constructs we have been using with BoneScript carry right over to Python. The
BBIO GitHub site
provides examples of how to poll for inputs, use pulse width modulation
(PWM), and so on.
If you comment-out the
time.sleep(0.5)
, you can measure how fast Python can
toggle the output pin.