-->
Page 2 of 2

Re: Can someone help me with this coding issue.

PostPosted: Wed Dec 18, 2019 8:39 am
by martinayotte
MyESP wrote: I though if its below void setup it works?


No ! Global variable initialization, where ever it is located in files, is always executed before main() or setup() function.

Re: Can someone help me with this coding issue.

PostPosted: Wed Dec 18, 2019 5:48 pm
by MyESP
martinayotte wrote:
MyESP wrote: I though if its below void setup it works?


No ! Global variable initialization, where ever it is located in files, is always executed before main() or setup() function.


Ok thank you, good to know