项目作者: naztronaut

项目描述 :
Examples showing how to turn on an LED using the gpiozero library and RPi.GPIO libraries
高级语言: Python
项目地址: git://github.com/naztronaut/rpi.gpio_gpiozero_led_example.git


Examples showing RPi.GPIO and gpiozero libraries

Examples showing how to turn on an LED using the gpiozero library and RPi.GPIO libraries

Installation

RPi.GPIO and gpiozero should already be installed by default on a base installation of Raspbian. But for some reason, you don’t have gpiozero installed, install it with the following command:

  1. sudo apt install python3-gpiozero

Video

Click the image below to watch the video tutorial

URL

Check out the tutorial at https://www.easyprogramming.net/raspberrypi/gpiozero_rpigpio_led.php