naztronaut / rpi.gpio_gpiozero_led_example

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

Home Page:https://www.easyprogramming.net/raspberrypi/gpiozero_rpigpio_led.php

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

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:

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

About

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

https://www.easyprogramming.net/raspberrypi/gpiozero_rpigpio_led.php


Languages

Language:Python 100.0%