Hi everyone, Im trying to make 2 different boards communicate in I2C.
One of those two boards is an mkr vidor 4000 and by Using the standard Wire.h library with it, I get an error saying that the architechture (samd) is not entirely compatible with the library(made for avr).
After hours of searching I found this VidorPeripherals library compatible with my board that includes the VidorI2C library, for I2C communication, but I cant find any documentation/tutorial about it.
All the examples that come with it aren't about I2C.
Can someone explain me how to use it?
The VidorTwoWire class is compatible with the Arduino Wire library but implements only the master part. There is no support for the slave part.
I get an error saying that the architechture (samd) is not entirely compatible with the library(made for avr).
Which library? You failed to provide the necessary information!
Hi everyone, Im trying to make 2 different boards communicate in I2C.
And why are there no links to the used hardware?
The Arduino MKR Vidor 4000 is an official Arduino board that uses the SAMD21 processor to be compatible for the Arduino part of the board. The SAMD21 is also used by the Zero, M0 and most other MKR boards.
Search in the Board Manager for "vidor" and there is a beta package for that board. After selecting the "Arduino MKR Vidor 4000" board, you have automatically the official SAMD21 Wire library.
When I compile the digital_potentiometer example, I get the warning: "WARNING: library Wire claims to run on (samd) architecture(s) and may be incompatible with your current board which runs on (samd_beta) architecture(s)".
I suggest to ignore that warning.
I think this should be moved to: MKRVIDOR4000 - Arduino Forum
I agree with Koepel that you should ignore the warning "library Wire claims to run on (samd) architecture(s) and may be incompatible with your current board which runs on (samd_beta) architecture(s)". The "samd_beta" architecture used by Arduino SAMD Beta Boards is only temporary until the Vidor support reaches a stable development state so Arduino didn't bother updating the compatible architectures list of the SPI library but that library is compatible with your Vidor.
However, if you get an error message that says ""library Wire claims to run on (avr) architecture(s) and may be incompatible with your current board which runs on (samd_beta) architecture(s)", that does indicate a problem, since the AVR version of the SPI library definitely will not work with the Vidor.
If you're still getting the second error message, let us know and we'll help you fix that issue.