-
-
Notifications
You must be signed in to change notification settings - Fork 191
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
[BUG] QR codes are inverted #830
Comments
QR-Codes are drawn as is by the Nextion firmware, there is nothing I can do about this. I'm just setting the string of the QR-Code. |
Swapping parameters (defaultBcoColor and 65535) in https://github.com/joBr99/nspanel-lovelace-ui/blob/main/HMI/n2t-out/cardQR.txt#L613 this line fixes the issue and codes are drawn correctly. |
This is the reason why any of my android devices cannot read these QR codes as I have mentioned long time ago on discord? |
That would be a yes. Try installing http://jacekowski.net/nspanel/lui-release-qr.tft (i've just swapped QR colours) |
I have a different display, but I faked it a bit - took a photo, inverted colors and was able to scan it!!! :D |
thanks, will look into this and add the fix to the HMIs |
swapped the colors in the EU Version; US-L and US-P will follow |
Currently the QR codes are drawn inverted. This limits compatibility severely (most scanners will not read inverted QR codes).
Ideally the code should have white border that is at least 4 modules wide as well.
The text was updated successfully, but these errors were encountered: