Closed holgerlembke closed 1 year ago
Hi Holger!
pins_aruino.h
for compatibility reasons. Old users or libraries may using it.if (pin == V5D1 || pin == V5D4) { ADCSRD |= 0x06; }
in your version of wiring_analog.c
line 108 going to generate a compile error when trying to compile for LGT8F328D. This compiler condition must be respected: #if defined(__LGT8FX8P__)
before if (pin == ....
https://github.com/holgerlembke/lgt8fx/blob/d0b60422caf7e5b8f828a37ec1607e6bae0ba105/lgt8f/cores/lgt8f/wiring_analog.c#L106-L110analogReadVccmV()
not the part of the basic Arduino functions.Thank you @holgerlembke! Marked as draft to avoid merging it by accident. Feel free to remove the draft flag after implementing the requests from @LaZsolt, then we can merge it :)
Discussion was at https://github.com/dbuezas/lgt8fx/issues/228