-
-
Notifications
You must be signed in to change notification settings - Fork 200
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
Multiple spi touch screen + rfid reader #420
Comments
you can use SPI2_HOST. cfg.spi_host = SPI2_HOST; |
Thanks, It's "working" unfortunately i'm having trouble reading data from both spi "at the same time" |
Do not manipulate the CS pin outside of the library without permission. |
How can I use digitalWrite with the lib ? i'm not finding any method or how can I use permissions |
Normally, the SPI bus is released after use; assertion and deassertion of the CS pin is automatic. |
How would you stop the communication with the display in lgfx in order to communicate with the RFID module ? |
No communication unless drawing instructions are used. |
Okay thank you very much |
If you are using startWrite, the SPI bus is occupied until you use endWrite. |
Sorry, i'm Still having troubles making both work The loop
The rfidcheck :
The display flush:
|
display_flush関数では必ずフラッシュする必要があると思いますが、 これはLGFXのバグではなくてあなたのプログラムの問題だと思います。私はあなたの便利なデバッガーではありません。 |
Hi,
I connected both touch screen and rfid reader to an esp32
Both are working separately but i can't make them work together
I might have troubles configuring spi in lgfx
My config:
Below, in the initRfid if i uncomment SPI.Begin(); the reader works well but no more screen. The opposite happens if i comment SPI.begin();
How can i configure the spi bus to make them work ?
The text was updated successfully, but these errors were encountered: