general bug fixes
switching from bcm library to wiringPi due to i2c issues