blinky

command
v0.0.0-...-168ccc2 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Dec 5, 2021 License: BSD-3-Clause Imports: 4 Imported by: 0

Documentation

Overview

This example blinks two LEDs that need to be connected to PH3, PH5 pins. It does not use LEDs on the mother board (i have no one). If you want to use LEDs on the mother board change line:

leds, led1, led2 = gpio.H, gpio.Pin3, gpio.Pin4

to

leds, led1, led2 = gpio.B, gpio.Pin6, gpio.Pin7

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL