Arduino Uno - Leonardo Incompatibility?

You are welcome :smiley:

Here is one:
https://www.arduino.cc/en/Reference/Wire

Board I2C / TWI pins
Uno, Ethernet A4 (SDA), A5 (SCL)
Leonardo 2 (SDA), 3 (SCL)

This is a good reason to always use the dedicated I2C bus pins (marked "SDA and SCL") on the boards instead of the other places they are broken out (e.g., A4, A5 on the Uno). The dedicated I2C pins are in the same place on both boards, and on the other boards that use the Uno and Mega style form factors.


Same situation with the SPI library:
https://www.arduino.cc/en/reference/SPI

Arduino / Genuino Board MOSI MISO SCK SS (slave) SS (master) Level
Uno or Duemilanove 11 or ICSP-4 12 or ICSP-1 13 or ICSP-3 10 - 5V
Leonardo ICSP-4 ICSP-1 ICSP-3 - - 5V

The SPI bus is always broken out to the ICSP header on these boards, so as long as you always use those pins then there is no noticeable inconsistency in this respect.