arcbtc / M5StackSats

A bitcoin point of sale terminal using the ESP32 based M5Stack

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Room77: Reduce Brightness

rootzoll opened this issue · comments

We found that in dark environment the QR gets better scanned by phones if the brightness is a bit reduced.

commented

This is interesting, as the opposite would be true for people using it in the day.
I suppose this would be set in the initial setup, once autoconnect gets incorporated

I confirm I regularly experience this 9 / 10 times I try to scan a M5StackSats at a dark bar.

A wonky work around is to take a picture of the QR with a third device and force the exposure to be darker- this works every time. FWIW I think the issue is my phones camera + ASOP app are not so good.

This is interesting, as the opposite would be true for people using it in the day.

Good point. Perhaps a simple if (time_of_day > '18:00') { brightness = 0.6 } or something would help?