Coder Social home page Coder Social logo

python-pi's Introduction

python-pi

Files

1 - Blinking LED

File: blink-led.py

Demo: Video

Diagram: Source file

Diagram

Description: Blinks an LED a set number of times for a given duration.

2 - Button LED

File: button-led.py

Demo: Video

Diagram: Source file

Diagram

Description: LED controlled by a button. Button held, LED on. Button not pressed, LED off.

3 - Switch LED

File: switch-led.py

Demo: Video

Diagram: This one uses the same diagram as the button LED.

Description: LED controlled by a button acting as a switch. Press the button, the LED turns off (if it is on) or on (if it is off).

4 - 8 Blinking LEDs

File: 8-led.py

Demo: Video

Diagram: Source file

Diagram

Description: 8 LEDs blinking left to right.

5 - 8 LEDs with a GUI

Files: 8-led-gui.py, led.ui

Demo: Video

Diagram: This one uses the same diagram as the regular 8 LEDs

Description: 8 LEDs now controlled by checkboxes in a GUI. GUI built with pygubu.

Screenshot:

GUI Picture of breadboard

6 - One RGB LED

File: rgb-led.py

Demo: Video

Diagram: Source file

Diagram

Description: A single RGB LED that blinks red/green/blue/white 10 times, then exits.

7 - Random colors on one RGB LED

File: random-color.py

Demo: Video

Diagram: This one uses the same diagram as the one RGB LED

Description: Random colors fading one to the next on one RGB LED.

8 - Random colors on one RGB LED (now with functions)

File: random-color-2.py

Demo: Same as above.

Diagram: This one uses the same diagram as the one RGB LED

Description: Random colors fading one to the next on one RGB LED, controlled by functions.

Diagrams made using Fritzing.

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.