Replace references to Wire with wiringPi\nUse cout instead of Serial.print*\n\n(Untested)