Skip to content

Simplify GPIO initialization and keyboard scanning using masks

The Pi Pico SDK allows for the configuration and manipulation of multiple GPIO pins simultaneously using GPIO masks. This changes GPIO initialization to use two new masks, one for keyboard columns (output) and one for keyboard rows (input), and clears keyboard columns during scan using another mask operation.

This should not change any behavior and will affect runtime only minimally (keyboard scanning should be ever so slightly faster).

Merge request reports

Loading