license issues solved by using wiringPi instead of bcm2835 lib