hola,
I’m trying to get a I2C on Daisy via Arduino.
The device im trying to use has support using ‘Wire’ so seems like the quickest way to get started.
the devices work both fine on Bela, and also the same code is working fine with an Arduino Nano
But with daisy it reports no i2c devices found on either I2C1 or I2C4
so I backed up, and tried to use the I2CScanner example
(Examples -> Wire ->I2cScanner)
the code mentions here that you may need to se the I2C bus, by using setSDA, set SDL with relevant pin numbers, so I tried
for I2C1
Wire.setSCL(D11);
Wire.setSDA(D12);
for i2c4
Wire.setSCL(D13);
Wire.setSDA(D14);
both in setup() before calling Wire.begin()
but I’m not really sure about the pin numbers… is this the way daisy is expecting them to be specified?
anyway still no luck
thoughts? has anyone got i2c working using Wire with daisy yet?