This tutorial you wil make a that makes the LED blink.
We will need the following tools to complete the project:
1 Breadboard
2 Jumper wires
1 an color LED
1 Raspberry Pi
This is the Code:
from gpiozero import LED
import time i = 1 i = int(i) ledRed = LED(18) while True: ledRed.toggle() time.sleep(i) ledRed.toggle()The results will be like this