Hi! I have a problem related to the ADC. My purpose is to take some measures of incident light with 2 LDRs and showing its values with two ADC channels. Also i would like show the value measured on a LCD 1602 to make sure i'm doing it right. My issue is not related to displaying characters as i think, cause i made before an exercise to display an array of characters like the typpical 'Hellow World' and it worked. So my main problem is related to the extra of measuring with the ADC. I have some doubts that i'm doing well the steps for CONSEQ_3 mode in ADC. I paste my code and if anyone see anything wrong, please let me know! Thnks a lot btw.
https://pastebin.com/z0DhFqDc
https://pastebin.com/z0DhFqDc