hi im using i2c to communicate or well tried but idk i keep like no error but only dont print nothing of the i2c im ussing the teensy as master
Welcome to the forum.
You might want to look at this How to get the best out of this forum before you proceed any further.
It tells you how to post things and other things.
Your question is pratically incomprehensible as was your title before I turned into English for you.
Please post your code using code tags as illustrated in the link above.
Please keep in mind that we are not a free design or code-writing service. We’re more than happy to help with your design or code, but we need you to make an initial attempt. Please design and write your code, then post it along with an explanation of what’s not working properly. There is also a for hire section if you want to pay for it.
-
Show Your Work First: Before asking for assistance, make an attempt to design or write the code yourself. Share your work along with details about what isn’t working.
-
Provide Clear Documentation: Since we can’t see your project, share an annotated schematic (best) or a clear drawing of your setup. Pictures are welcome, but avoid using Fritzing diagrams as they are wiring diagrams, not schematics, and are not ideal for troubleshooting.
-
Include Technical Details: If there is specific hardware involved, include links to technical information. There are often many versions of similar components, so precise details are essential.
-
Reference Resources: For additional help, check out useful links and tutorials: Useful Links on Arduino Forum. Of course one of the better sources of information (in my opinion) is the Arduino Cookbook. Skim it cover to cover and stop on any project that interests you.
Use UART serial instead of I2C to communicate between MCUs.
I2C was designed for short range communications between chips on a single PCB.
Please provide a schematic and your code.
Take some good photos of your wiring.
Do you have pullup resistors on the I2C lines?