You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
When I looked at the serial port, after each reset, the serial port printed the following, of course, ft6336 is working normally.
E (16) gpio: gpio_set_level(226): GPIO output gpio_num error
E (26) gpio: gpio_set_level(226): GPIO output gpio_num error
I checked the FT6336U.cpp file. The problem is with the function digitalWrite(rst n, X).
It is located on lines 44 and 46.
I printed the values for rst_n and int_n and found that they were both 255, not -1.
So. I submit feedback to you.
The text was updated successfully, but these errors were encountered:
This library needs to set the REAL gpio num for RST_N and INT_N. It means I assume the circuit will connect RST_N and INT_N to FT6336U.
But I did not write error handling. So, I do not guarantee that it will work properly if you don't set RST_N pin and INT_N pin.
I use ESP32S3 and the code configuration is as follows.
#define I2C_SDA 2
#define I2C_SCL 1
#define RST_N_PIN -1
#define INT_N_PIN -1
FT6336U ft6336u(I2C_SDA, I2C_SCL, RST_N_PIN, INT_N_PIN);
When I looked at the serial port, after each reset, the serial port printed the following, of course, ft6336 is working normally.
E (16) gpio: gpio_set_level(226): GPIO output gpio_num error
E (26) gpio: gpio_set_level(226): GPIO output gpio_num error
I checked the FT6336U.cpp file. The problem is with the function digitalWrite(rst n, X).
It is located on lines 44 and 46.
I printed the values for rst_n and int_n and found that they were both 255, not -1.
So. I submit feedback to you.
The text was updated successfully, but these errors were encountered: