An speaking of PWN, check this out! PiFace controls motor speed with PWM, from Element14. Here’s a blog tip from Drew Fustino:
At first glance, it seems like the PiFace outputs can’t do PWM because they hang off a SPI I/O extender. However, Gordon Henderson of drogon.net and WiringPi figured it out. I wrote blog post about Gordon’s demo code and a video I shot of the motor….
From the Element14 blog:
To follow up my last post, PiFace relay tricks: metronome & “playing” middle A, I’d like to show how Gordon’s PiFace PWM code can be used to control the speed of a DC motor connected to one of the PiFace output screw terminals….
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.