Code to control tachometers from a RPI