updated code to include turning relays on and off, trying to auto-detect
5v and 3v boards by preprocessor and select the correct analog pins,
disabled gyroscope because it's not connected at the moment