microcontroller — Pin references and core functionality

The microcontroller module defines the pins from the perspective of the microcontroller. See board for board-specific pin mappings.

Libraries

microcontroller.delay_us(delay)

Dedicated delay method used for very short delays. DO NOT do long delays because it will stall any concurrent code.

microcontroller.disable_interrupts()

Disable all interrupts. Be very careful, this can stall everything.

microcontroller.enable_interrupts()

Enable the interrupts that were enabled at the last disable.

microcontroller.pin — Microcontroller pin names

References to pins as named by the microcontroller