Hi! I'm new on the Forum and first of all I'm an hobbist in Arduino and C++ code programming. Now I'm trying to work with Samd21 archtecture boards and I'm trying to discover the differences between Arduino Uno and Samd21 boards. Excuse me if I don't use proper words to report my issues. I'm trying to connect two Samd21 boards in Master/slave configuration , using simple codes successfully working by connecting two Arduino Uno, but unlikely the same codes don't work in the same SAMD 21 master/slave configuration connecting SCL and SDA pins together. Of course I have replaced Serial to SeriaUSB port in the code but without success.
In my case the word "ciao" has been sent with wrong characters and randomly. I know I'm doing basic conceptual errors , that I hope to cope with your help. I found also other codes Master/slave that work on a two Arduino Uno's configuration but nothing works connecting I2C buses of two Samd21 boards.
See Attached codes.
slave_arduino_OK_lo_slave_ha_scritto_manda_ciao.ino (150 Bytes)
master_arduino_OK_manda_su_Samd_ciao_scritto_malelo_slave__ha_s.ino (285 Bytes)