I am working on a project where i am using the following:
- Arduino Mega 2560
- 10K pull-down resistor
- multiple sensors.
What i want to do is the following:
I want to connect my 20x4 LCD trough i2c and display my measuring values.
I have everything working except one thing…
Because I do have a lot of measurements going, a 20x4 LCD is not big enough to display all my variables.
That’s why i have made a so called page toggle, which makes it possible to display a couple measurements on on page and show the rest when pushing the button.
(And yes i have debounced it already )
What my problem is:
- The measurements are dynamic, but they won’t refresh on the LCD unless i press and release the button.
Since i am not a superstar in programming, i am really hoping someone can help me solving this.
I have attached my code.
Please let me know if you need some additional information.
Thanks in advance
Measurings_LCD.ino (4.9 KB)