Skip to content

Instantly share code, notes, and snippets.

@Fhernd
Created February 23, 2018 11:56
Show Gist options
  • Save Fhernd/277c0b9e625e33c2f7a0ebbb57b030b7 to your computer and use it in GitHub Desktop.
Save Fhernd/277c0b9e625e33c2f7a0ebbb57b030b7 to your computer and use it in GitHub Desktop.
Comunicación con la Raspberry Pi desde Python.
import RPi.GPIO as GPIO
GPIO.setmode(GPIO.BOARD)
GPIO.setup(1, GPIO.OUT, initial=GPIO.LOW)
GPIO.output(1, GPIO.HIGH)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment