/RasPiGPIO

Sample programs for Raspberry PI GPIO using pigpio library.

Primary LanguagePythonCreative Commons Zero v1.0 UniversalCC0-1.0

RasPiGPIO

This repo has the Fitzing diagrams and Python software for some Raspberry Pi GPIO programming examples I have put together for a youth introduction to programming course.

Circuit 1

LEDs and Switch

This file contains constants and helper functions to make is easier to program actions of the circuit and help maintain readability of those programs.

A quick test program to ensure the circuit has been set up and is working properly with the setup file.

Illuminate one LED at a time, in sequence, until the push button is pressed.

Turn each LED on then off, in sequence, until the push button is pressed.

Turn LEDs on and off at random until the push button is pressed.

Pico LDC Clock Circuit

LEDs and Switch