converting from bcm2835 to wiringPi