Other Parts Discussed in Thread: PCF8574
Tool/software: Code Composer Studio
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 in right. My issue is not related to displaying the values 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.
[For clarity, TI moved the source code to an attachment]