Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- sudo python
- import RPi.GPIO as GPIO
- GPIO.setmode(GPIO.BOARD)
- GPIO.setup(16, GPIO.OUT)
- GPIO.output(16, 1); // you shall see the LED is now turned ON
- GPIO.output(16, 0);// you shall see the LED is now turned OFF
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement