We’ve updated Adafruit Blinka, the CircuitPython compatibility layer for Raspberry Pi and other single board computers to support PWMOut
, a part of pulseio
. This means it’s now simple to pulse an LED or control a servo from your Raspberry Pi! To that end, we’ve updated the CircuitPython on Linux and Raspberry Pi guide.
The new PWM Outputs & Servos page walks through what is involved with pulsing an LED or controlling a servo on a Raspberry Pi. The page includes wiring diagrams for both, and everything you need to install to get started. There is example code for pulsing an LED, as well as example code for two servo control options.
Check out the full guide: CircuitPython on Linux and Raspberry Pi!
No comments:
Post a Comment