Replaced switch statement by lookup table for improved performance
w
Further speed improvements

- Removed NOP instruction
- Replaced I2C switch statement by if-else with most frequently used condition first
- Added temporary variable to store current value before transmitting,
to avoid the transmitted value being changed while being transmitted.
Added Arduino example using fast I2C bus (TQED100FAST)