added mode selection jumper (SPI/I2C)