Skip to content
Snippets Groups Projects
Commit c8febe63 authored by Kai Fricke's avatar Kai Fricke Committed by Damien George
Browse files

examples/hwapi: Add hwconfig_pyboard.py for pyboard.

parent 18e65691
Branches
No related tags found
No related merge requests found
from machine import Pin, Signal
# Red LED on pin LED_RED also kown as A13
LED = Signal(Pin('LED_RED', Pin.OUT))
# Green LED on pin LED_GREEN also known as A14
LED2 = Signal(Pin('LED_GREEN', Pin.OUT))
# Yellow LED on pin LED_YELLOW also known as A15
LED3 = Signal(Pin('LED_YELLOW', Pin.OUT))
# Blue LED on pin LED_BLUE also known as B4
LED4 = Signal(Pin('LED_BLUE', Pin.OUT))
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment