Warning about clearing of uninitialized global variables on reset #11682
Labels
Component: Documentation
Related to Arduino's documentation content
feature request
A request to make an enhancement (not a bug fix)
Type: Invalid
Off topic for this repository, or a bug report determined to not actually represent a bug
When I define global variables with no initial values, they are cleared after initiating a reset with power applied even though a value other than zero has been written to them by the sketch beforehand.
From what I see, this is caused by the Arduino bootloader which in my belief tests the RAM and/or clears its contents on reset.
The text was updated successfully, but these errors were encountered: