teensy 4.1 with all 18 analog inputs and i2c

lokki

Well-known member
hi there,

for a project I really need all 18 analog inputs from a teensy 4.1 and i2c. until recently I was under the impression that this was not possible but now I see that some of the sdcard socket pins can act as sda and scl pin as well...

so as long as I don't use the sdcard functionality I can do a simple:

Code:
Wire.setSDA(44);
  Wire.setSCL(45);

and things should work?

or do I need to use Wire1, since the sdcard pins are labeled SDA1 and SCL1?

cheers
 
Back
Top