pi_portal.modules.python.rpi.patch

Raspberry PI GPIO compatibility shim.

Functions

patch_module(module_name[, substitute_module])

Mock or substitute an import if not running on the 'arm' platform.