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