Raspberry Pi - GPIO Basics with Python
What is wrong with this code snippet?
Assuming the LED is wired to physical pin 10 on the header.
import RPi.GPIO as GPIO GPIO.setmode(GPIO.BCM) GPIO.setup(10, GPIO.OUT) GPIO.output(10, GPIO.HIGH)
Assuming the LED is wired to physical pin 10 on the header.
