nox771 / i2c_t3

Enhanced I2C library for Teensy 3.x devices
157 stars 44 forks source link

Teensy 4.0 #28

Open cho934 opened 5 years ago

cho934 commented 5 years ago

Hi,

I've just bought a Teensy 4.0. What I need to change to use the 3 i2c wires ? If I change only pinouts, is it enough ? Could you please update the documentation ?

BR,

nox771 commented 5 years ago

i2c_t3 does not currently support Teensy 4. At the moment you need to use Wire library for I2C on that device.

ttlappalainen commented 5 years ago

Do you have plans and possible schedule for supporting Teensy 4?

nox771 commented 5 years ago

I have acquired some hardware. When I get time I plan to look into it, but it is unlikely to be soon (probably a few months).

Richard-Gemmell commented 5 years ago

Hi Everyone,

I've created an I2C library for the Teensy 4 that implements slave mode. See https://github.com/Richard-Gemmell/teensy4_i2c.

It doesn't support any other Teensies and I haven't attempted to make it backwards compatible with i2c_t3. It does contain a Wire wrapper though.

I hope some of you will find it useful. Please feel free to use it or borrow the code if you prefer.

cheers, Richard