A nice little lesson in making python libraries – they’ll keep your code tidy and reusable, from MELTWATER’S RASPBERRY PI HARDWARE:
This lesson will introduce creating and using your own library to provide low level control of the GPIO, while hiding away the detail inside.
Plus, you can have a Disco and even touch the Rainbow!
If you don’t have the kit don’t worry since much of the information in this lesson can be applied to other GPIO control projects and using Python generally, you just miss out on the beautiful colours…
Each Friday is PiDay here at Adafruit, be sure to check out our posts, tutorials and new Raspberry Pi related products. Have you tried the new “Adafruit Raspberry Pi Educational Linux Distro” ? It’s our tweaked distribution for teaching electronics using the Raspberry Pi. But wait, there’s more! Try our new Raspberry Pi WebIDE! The easiest way to learn programming on a Raspberry Pi.
We now have Raspberry Pi Model B with 512MB RAM in stock and shipping now!
Have an amazing project to share? Join the SHOW-AND-TELL every Wednesday night at 7:30pm ET on Google+ Hangouts.
Join us every Wednesday night at 8pm ET for Ask an Engineer!
Learn resistor values with Mho’s Resistance or get the best electronics calculator for engineers “Circuit Playground” – Adafruit’s Apps!
Maker Business — “If Work Is Digital, Why Do We Still Go to the Office?”
Wearables — Stiff upper lip
Electronics — Signature required?
Biohacking — BBC Biohacking: Technology and Health
No comments yet.
Sorry, the comment form is closed at this time.