Skip to content

priya390/Raspberry-Pi-LED-Blinking-in-Python

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

1 Commit
 
 
 
 

Repository files navigation

How to run this code on your Raspberry Pi:

Prerequisites:

1. SSH connection to your Raspberry Pi(e.g. PuTTy)
2. Install Git on your Raspberry Pi

How to execute code:

1. `git clone https://github.com/priya390/Raspberry-Pi-LED-Blinking-in-Python`
2. `cd Raspberry-Pi-LED-Blinking-in-Python`
3. `sudo python main.py`

How to change GPIO pin:

Change pin number in this line as per your requirements.
`led = 5 # GPIO pin number is 5 and name is GPIO3`

About

Turn Raspberry Pi GPIO ON/OFF using Python (RPi.GPIO)

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages