Hi, My project involves a Teensy 3.2, the Audio Shield, a SSD1306 based display and a DS1881 digital pot chip. Using Wire for I2C I get an I2C NACK error (code 2) from the DS1881. No problems talking to the display.
So I tried Basic_scanner. Basic_scanner finds the DS1881 and if I add code to change the values in the DS1881 that works. Basic_scanner uses i2c_t3.
So just use i2c_t3 I hear you say. But I can't because when I add audio.h there are lots of compile errors as the audio code seems to use Wire.
After looking at the forums I tried the trick of renaming Wire.h and creating a Wire.h with one line #include "i2c_t3". Now I get lots of errors from Wirekinetis. What does Wirekinetis do and is there any way round this problem?
The problem now exceeds my understanding, help please.
So I tried Basic_scanner. Basic_scanner finds the DS1881 and if I add code to change the values in the DS1881 that works. Basic_scanner uses i2c_t3.
So just use i2c_t3 I hear you say. But I can't because when I add audio.h there are lots of compile errors as the audio code seems to use Wire.
After looking at the forums I tried the trick of renaming Wire.h and creating a Wire.h with one line #include "i2c_t3". Now I get lots of errors from Wirekinetis. What does Wirekinetis do and is there any way round this problem?
The problem now exceeds my understanding, help please.