Hi
this is a 6 adc channel reading program and we have to set the reference value using micro switches ..display all the values in lcd...the problem is after entering in to the settings menu lcd values changes misaligned in display..otherwise the program is fine..please help
I suspect there's a mishandling of your data array indexed my 'GasIndex'
Check your array sizes vs the index used to access. Especially the case for vacuum, since this is handled differently.
Your code is too detailed for me to cross-check everything, but I suspect the error is related to the above.
If your Lcd output routine accesses some 'bad' memory locations, then anything can happen on the display