Skip to content

Instantly share code, notes, and snippets.

@lesp
Created September 19, 2014 21:23
Show Gist options
  • Save lesp/d2ec958b67ed2bc413b9 to your computer and use it in GitHub Desktop.
Save lesp/d2ec958b67ed2bc413b9 to your computer and use it in GitHub Desktop.
Setup the GPIO to use Broadcom mapping
GPIO.setmode(GPIO.BCM)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment