You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I am trying to use a Teensy 3.2 with Audio Board as a i2c slave
when adding the i2c_t3 library it throws errors - conflicting declaration 'i2c_t3 Wire'
extern i2c_t3 Wire;
it is stated that replacing Wire.h with i2c_t3.h should be done in the Audio library.
./hardware/teensy/avr/libraries/Audio/control_sgtl5000.cpp
• ./hardware/teensy/avr/libraries/Audio/control_wm8731.cpp
• ./hardware/teensy/avr/libraries/Audio/control_cs4272.cpp
• ./hardware/teensy/avr/libraries/Audio/control_ak4558.cpp
What do you recommend?
The text was updated successfully, but these errors were encountered:
You cannot use the standard Wire library and i2c_t3 at the same time. If you use i2c_t3 in your main program, then any library that uses the Wire library must also use it. So the straightforward way is to change Wire.h to i2c_t3.h in the Audio library (or any other library using Wire.h).
Hello,
I am trying to use a Teensy 3.2 with Audio Board as a i2c slave
when adding the i2c_t3 library it throws errors - conflicting declaration 'i2c_t3 Wire'
extern i2c_t3 Wire;
it is stated that replacing Wire.h with i2c_t3.h should be done in the Audio library.
./hardware/teensy/avr/libraries/Audio/control_sgtl5000.cpp
• ./hardware/teensy/avr/libraries/Audio/control_wm8731.cpp
• ./hardware/teensy/avr/libraries/Audio/control_cs4272.cpp
• ./hardware/teensy/avr/libraries/Audio/control_ak4558.cpp
What do you recommend?
The text was updated successfully, but these errors were encountered: