add basic wiringpi replacement