Electronic Projects for the Raspberry Pi: Book 1 - Interfacing to LED displays, speakers and simple sensors by Seggy Segaran
Author:Seggy Segaran [Segaran, Seggy]
Language: eng
Format: epub, pdf
Publisher: Ohm Books
Published: 2016-12-11T08:00:00+00:00
#tidy up
GPIO.cleanup()
import sys
sys.exit()
When this program is run, it will clear the display and then write a 0 to it. When the button is pressed it will show a random digit from 0 to 6. This will stay on the 7-segment display until the key is released and pressed again. To stop the program press CTRL and C at the same time.
The Python Code for all the project can be found at http://www.sf-innovations.co.uk/projects.html.
Project 4:Driving a tri-colour LED
In this project we are going to drive a tri-colour Red/Green/Blue (RGB) LED and control the brightness of each of the colours from the keyboard. By mixing these colours we should be able to get a wide range of shades.
Download
Electronic Projects for the Raspberry Pi: Book 1 - Interfacing to LED displays, speakers and simple sensors by Seggy Segaran.pdf
This site does not store any files on its server. We only index and link to content provided by other sites. Please contact the content providers to delete copyright contents if any and email us, we'll remove relevant links or contents immediately.
Automotive | Engineering |
Transportation |
Whiskies Galore by Ian Buxton(41526)
Introduction to Aircraft Design (Cambridge Aerospace Series) by John P. Fielding(32886)
Small Unmanned Fixed-wing Aircraft Design by Andrew J. Keane Andras Sobester James P. Scanlan & András Sóbester & James P. Scanlan(32571)
Craft Beer for the Homebrewer by Michael Agnew(17931)
Turbulence by E. J. Noyes(7698)
The Complete Stick Figure Physics Tutorials by Allen Sarah(7136)
Kaplan MCAT General Chemistry Review by Kaplan(6594)
The Thirst by Nesbo Jo(6433)
Bad Blood by John Carreyrou(6271)
Modelling of Convective Heat and Mass Transfer in Rotating Flows by Igor V. Shevchuk(6220)
Learning SQL by Alan Beaulieu(6033)
Weapons of Math Destruction by Cathy O'Neil(5825)
Man-made Catastrophes and Risk Information Concealment by Dmitry Chernov & Didier Sornette(5645)
Digital Minimalism by Cal Newport;(5389)
Life 3.0: Being Human in the Age of Artificial Intelligence by Tegmark Max(5183)
iGen by Jean M. Twenge(5159)
Secrets of Antigravity Propulsion: Tesla, UFOs, and Classified Aerospace Technology by Ph.D. Paul A. Laviolette(4985)
Design of Trajectory Optimization Approach for Space Maneuver Vehicle Skip Entry Problems by Runqi Chai & Al Savvaris & Antonios Tsourdos & Senchun Chai(4837)
Electronic Devices & Circuits by Jacob Millman & Christos C. Halkias(4745)
