Home arrow Support arrow Forums

Luminary Micro Forums

ar_mario

Expert Boarder
Click here to see the profile of this user

2007/03/08 19:22

code to wiew Vadc in OLED

Hi
I' trying to put adc value of potentiometer in OLED, but when i paste the code obtained from the program example of the driverlib manual, the program crashes.
until now i have achieved to put a integer in OLED (itos no in any library!!)
when i paste just a line, like

"ADCSequenceConfigure(ADC_BASE, 0, ADC_TRIGGER_PROCESSOR, 0);"

from adc example, the rest of program don't work (OLED remins off).

i came from pic & pcw world...¿please somebody can help me?

login or register to reply

LMI Eric

Moderator
Click here to see the profile of this user

2007/03/09 17:58

Re:code to wiew Vadc in OLED

Your question is kind of vague, and there isn't enough information there for me to really say what the problem is...

What else is your program doing? How do you initialize the device and peripherals? It sounds to me that most likely you're not enabling the ADC's clock before you access it, and aren't setting up the sample sequencer correctly.

login or register to reply

ar_mario

Expert Boarder
Click here to see the profile of this user

2007/03/10 09:25

Re:code to wiew Vadc in OLED

OK. I ALREADY SOLVE THE PROBLEM: I MUST JUST ENABLE THE PERIPHERAL, (IT'S NO LIKE PICS)

THANK YOU!

login or register to reply