How to use the pfio.get_pin_bit_mask function in pfio

To help you get started, we’ve selected a few pfio examples, based on popular ways it is used in public projects.

Secure your code as it's written. Use Snyk Code to scan source code in minutes - no build needed - and fix issues immediately.

github thomasmacpherson / piface / python / piface / emulator.py View on Github external
def get_pin_bit_mask(pin_number):
    """Translates a pin number to pin bit mask."""
    return pfio.get_pin_bit_mask(pin_number)