PiFace controlling DC motor speed (notice the LEDs fading in and out, too)

[http://www.youtube.com/watch?v=QO9lDBBy5s8]

 

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:

 

 

And the installation instructions:

 

 

 

 

 

Cheers,

Drew

 

wheresboris.png