
Pines GPIO de Raspberry
Distribución de los pines GPIO: Instalación de la librería GPIOZERO: pi@raspberrypi:~$ sudo apt update pi@raspberrypi:~$ sudo apt install python3-gpiozero Then install the package for Python 3: pi@raspberrypi:~$ sudohon3-gpiozero apt install pyt or Python 2: pi@raspberrypi:~$ sudo apt install python-gpiozero Ejemplo de script en python: from gpiozero import LED from time import sleep led = LED(17) while…