micropython/examples/hwapi/hwconfig_z_frdm_k64f.py

6 lines
132 B
Python

from machine import Pin, Signal
# Freescale/NXP FRDM-K64F board
# Blue LED on port B, pin 21
LED = Signal(("GPIO_1", 21), Pin.OUT)