georgiagallant
New member
Hi,
I am using an Adafruit multiplexer and a teensy 3.5 and I'm trying to run the below scanner program (taken from this Adafruit webpage where I bought the multiplexer: https://learn.adafruit.com/adafruit-tca9548a-1-to-8-i2c-multiplexer-breakout/wiring-and-test) to see whether it can report which I2C ports on the multiplexer are in use. However, when I run it I get this error: "undefined reference to `twi_writeTo' collect2: error: ld returned 1 exit status Error compiling for board Teensy 3.5." I hooked the multiplexer up to an Arduino Uno and uploaded the same code and it worked perfectly. What does this error mean and how can I avoid it?
Thanks!
Georgia
I am using an Adafruit multiplexer and a teensy 3.5 and I'm trying to run the below scanner program (taken from this Adafruit webpage where I bought the multiplexer: https://learn.adafruit.com/adafruit-tca9548a-1-to-8-i2c-multiplexer-breakout/wiring-and-test) to see whether it can report which I2C ports on the multiplexer are in use. However, when I run it I get this error: "undefined reference to `twi_writeTo' collect2: error: ld returned 1 exit status Error compiling for board Teensy 3.5." I hooked the multiplexer up to an Arduino Uno and uploaded the same code and it worked perfectly. What does this error mean and how can I avoid it?
Thanks!
Georgia