The benefit of this is you can now define binary sensors (buttons!) if you want to do actions. Iāve simply divided the screen up into four quarters below
As per the usual docs for the touchscreen, you can limit the buttons to a particular page by defining a page_id: within the binary sensor configuration.
It seems like the RFID sensor is not working when you hold an RFID card against it, unlike with the other RFID sensor that works. What could be the reason for this?
Sorry but I have no idea Jarne. As I showed earlier, the tag reader is working fine on my unit although someone else said they were having issues where they needed to swipe the card numerous times to get it to work.
I just borrowed off what others did with their touchscreen drivers. And at the end of it all, I actually found a component already built (ft5x06) that would have worked by just changing the i2c addressā¦
Still, itās all tidied up now and should work ok for what is required - still working on why gestures arenāt being reported properly though.
Going from this post , there might be an additional setting you can enable for the display to disable eight_bit_color. Supposed to increase draw speed at the expense of memory.
Iāve updated the screen component over on my github to incorporate the changes, and it speeds up the screen signficantly. It will automatically default to 16 bit colour, so no need to change the configuration at all.
Now the screen is much faster, and we can define touch buttons, Iāve revised my main menu screen and playing around with using the round display for setting values.
Hello, I looked at your version 2, itās nice! Could you share or put this in your GitHub so that it can be downloaded? This would be great, thanks in advance!
Just grab something you like/is suitable from online with a free use/personal use license. I just googled dark grey background and grabbed that looked semi decent to play around with.
The animated gif isnāt used anywhere at the moment anyway so you could remove, I was testing something but it didnāt work, so isnāt used at the moment.
Yep, there are plenty of options available for the display. Iām just playing around with it myself, I donāt think Iāll actually need 7 options on the menu page, but just wanted to see what it looked like.
Thanks Beccsjb. I am only building off the work from dgaust.
Have chucked a copy of my test code on Github for you. Be aware that it is just my tinker code, so some things may not work as intended, extra code thatās not needed, etc.
No images to upload - all icons used are MDI icons.
@atomic10 did you get the Port A i2c bus to work? It works for me if I disable the display in the esphome YAML but not when it is enabled. I suspect this is due to the loop() taking a long time on the gc9a01. Has found a working approach?