Skip to content

Instantly share code, notes, and snippets.

View timkl's full-sized avatar

Tim Kjær Lange timkl

  • GoToMeeting Free
  • Denmark
View GitHub Profile
@timkl
timkl / gist:3155149
Created July 21, 2012 08:49 — forked from ChickenProp/gist:3050085
Simple Raspberry Pi GPIO example

Introduction

This is a dead-simple way to test that GPIO on the Raspberry Pi is working. I have an SKPang Raspberry Pi starter kit A. But all you need is

  • A Raspberry Pi.
  • An LED.
  • A button.
  • A resistor, approximately 270Ω.
  • Some way to connect these to each other and the GPIO pins.