pimoroni-pico/micropython/modules/pico_rgb_keypad
Phil Howard bd3651d97d Pico RGB Keypad: Refactor to class.
Because `mp_tracked_calloc` does not survive a soft reset but the memory region will, resulting in half-initialised frankenclasses that behave unpredictably.

Using the class pattern fixes this since it's always guaranteed to be initialised when a user instantiates it, and __del__ can handle cleanup.
2023-03-16 13:25:19 +00:00
..
micropython.cmake Drop redundant -D 2021-03-23 13:00:01 +00:00
pico_rgb_keypad.c Pico RGB Keypad: Refactor to class. 2023-03-16 13:25:19 +00:00
pico_rgb_keypad.cpp Pico RGB Keypad: Refactor to class. 2023-03-16 13:25:19 +00:00
pico_rgb_keypad.h Pico RGB Keypad: Refactor to class. 2023-03-16 13:25:19 +00:00