switch for several types of Arduinos