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!