Hey,
I recently recieved the pre-solddered 4.2 kit and out of the box it worked great. I went to make some mods in Arduino and noticed several issues when flashing the example sketch provided.
There must be some difference between the binaries that I can flash via the web flash tool, which is labelled:
“AirGradient DIY PRO (PCB >3.7) 2.4.1 2023.04.13”
and what is on GitHub under
“examples/DIY_PRO_V4_2/DIY_PRO_V4_2.ino”
When I flash via the web tool, everything works fine, but when I manually flash with this example sketch, the display is upside-down and the device bootloops because the button configuration is incorrect (it keeps thinking the button is in the wrong state of high vs low).
Can someone please provide the source sketch that was used to create the binary that the web tool uses?
Thanks,