alexandros
Well-known member
I have one Teensy 3.6 and one 3.2, where the first is an I2C master (among other things it does) and the second is a slave. The code of both is rather long (about 2000 lines for the master and 3000 lines for the slave), and I'm really not sure which part I should post, but I'd like to ask a generic question about it.
While developing the slave, I've reached a point where if I add the slightest thing (even if this has nothing to do with I2C), it messes with how the master behaves.
To be a bit more precise, the master connects to some input and output shift registers via SPI. When this strange thing happens (loading something extra to the slave), the master can't communicate properly with the shift registers. When I say I add something to the slave code, the following is something that can cause this behaviour:
Before I start posting chunks of code one after the other I would like to ask if something similar has ever happened to anyone else.
While developing the slave, I've reached a point where if I add the slightest thing (even if this has nothing to do with I2C), it messes with how the master behaves.
To be a bit more precise, the master connects to some input and output shift registers via SPI. When this strange thing happens (loading something extra to the slave), the master can't communicate properly with the shift registers. When I say I add something to the slave code, the following is something that can cause this behaviour:
Code:
String notes[12] = { "C", "C#", "D", "D#", "E", "F", "F#" ,"G", "G#", "A", "Bb", "B" };