-
Notifications
You must be signed in to change notification settings - Fork 30
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
TTGO TS I²C communication address #22
Comments
Hi, i dont know if I get the question. Which I2C address do you mean, if you use it as a client you can set the address. If you need an address of peripherie there are some scanner for wire bus on the net or use the examples. |
I want to use it as a slave and the arduino as master. |
Then you need to create a programm for the TS and let it work as a I2C client. You can choose an adress for it. The basis of the TS, is an ESP32 and its programmable with the arduino gui. Or you put an AT Firmware on the ts and configure it with at commands. Be carful dependant on which arduino you use, you need an logic level converter from 5V to 3.3V. |
So I don't have to use wire library to programme the TS, because in this library to assign the address to the Arduino UNO, for example, we have to write it as an argument of the function wire. Begin () which is different from the ESP32 board that uses (SCL, SDA) pins as arguments. |
Hi, sorry I was not aware that arduino does not support client mode for ESP32. I Thought this works as on arduino. Maybe you can follow this link: https://github.com/gutierrezps/ESP32_I2C_Slave. |
Thank you |
Hi
how can I find the adresse of TTGO TS used in I²C communication?
The text was updated successfully, but these errors were encountered: