I want to change or declare a constant in the setup() and then, I want to access it in the loop().
I have searched a lot, but the only questions I found could be solved by declaring the constant in the beginning of the program. That doesn't work for me because I am using the Adafruit BMP388 and I can't use the pressure before setup().
I also tried declaring the variable before setup() and changing it inside setup(), but it didn't change when I used it in loop().
How can I solve this?
fadesketch in arduino IDE example sketches