Tweet
sweating the small stuff: implementing interrupt-driven button input in Focus for the Pi Pico book (before, the buttons were polled). No clock gating or anything so far; just picking a sleep mode and adding a __wfi(), and I’ve saved almost 11 mA with no change in user experience.
(original)