An open API service indexing awesome lists of open source software.

https://github.com/carlosvega20/rpi_gpio_python_samples

Raspberry PI, electronic, led, i2c, Python, basics.
https://github.com/carlosvega20/rpi_gpio_python_samples

Last synced: 3 months ago
JSON representation

Raspberry PI, electronic, led, i2c, Python, basics.

Awesome Lists containing this project

README

        

# RPI_GPIO_Python_samples

## Basic Blink Led (Hello World!)

- 01_blink_led.py
Raspberry PI i2c Hello world!.
Blink a simple led.

Requirements:
- Raspberry PI
- One Led and resistor (try with different ohms the idea is not to burn the led with 3v or 5v )
- Python, RPI/GPIO and i2c enabled (https://gist.github.com/carlosvega20/2a4282d80cd82a9360ca)

Board Setup:
![board setup](/assets/rp_led_setup.jpg)

## Basic Python Web Server (flask Framework)

- 02_basic_web_server.py
Web Server Hello World!.
Run a simple server.

Requirements:
- python
- pip (python get-pip.py)
- flask (pip install Flask)

## LED Blinky code for Raspberry Pi on flask webserver (Hello World!)

- 03_web_gpio_led.py
Raspberry PI i2c Hello world!.
Blink a simple led from external web server.

Requirements:
- All the initial requirements at top of this doc