speed control added to RPi module