LCD code

I am trying to help some students with combining two codes. One is a thermometer and the other is a flow meter. When they combine and run it the LCD acts up. The first two lines of the LCD are very dim and seem to flash. Also the temperature changes so fast it cant be read. PLease help :frowning:

flow_and_temp.ino (3.83 KB)

Please read Nick Gammon’s two posts at the top of this Forum, especially the use of code tags for posting code. Also, use Ctrl-T to reformat your code before posting. You’ll get more responses if you post your code.

Just a casual glance at the code shows that you don’t have break statements for each case statement block, so the code “falls through”. I’m not sure, but you may not want that.