I am using A18,A19 on teensy 3.6 as I2C to drive another module along with the teensy audio shield(I think A4,A5 are reserved for the audio shield). I am using i2c_t3.h since my assumption is that the wire.h library would only allow one I2C module being driven. However, after I add <i2c_t3.h> or replace <wire.h> with <i2c_t3.h>, I start to receive compiling errors like "Wire.cpp:507: multiple definition of `Wire'" and "Wire.cpp:376: multiple definition of `i2c0_isr'".
May I ask if there is a way to use other i2c pins(A18,A19) as the audio shield is used?
I also attached a mic-check script and the code used to drive the other I2C device(a SparkFun FM module si4703) in case they are useful. All I want is to use the line-in of the audio shield to take audio frequency analog output from the FM module.
Thanks~
View attachment miccheck.ino View attachment fm.ino
May I ask if there is a way to use other i2c pins(A18,A19) as the audio shield is used?
I also attached a mic-check script and the code used to drive the other I2C device(a SparkFun FM module si4703) in case they are useful. All I want is to use the line-in of the audio shield to take audio frequency analog output from the FM module.
Thanks~
View attachment miccheck.ino View attachment fm.ino
Last edited: