Restructured Arduino code/pin definitions

Arduino pin definitions now depend on board type and can be changed more
easily in the code, which may ultimately allow to change the setup from
Spotter, similar to Firmata.