added functions to Rpi-hw library