Skip to content

frruit/raspberry_led_example

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

3 Commits
 
 
 
 
 
 
 
 

Repository files navigation

raspberry_led_example

This repository contains 2 small python scripts for the Raspberry Pi (rev. B+).

This example work's when you connect a ressistor of f.e. 330Ω to the GPIO pin 17 and a default LED (+ after resistor and - to GND).

Clone the repository and then run

sudo python led_example_on.py

to switch the led on or

sudo python led_example_off.py

to switch it off.