Other Parts Discussed in Thread: ENERGIA, TM4C1294NCPDT
Hi everyone,
i'm programming in Energia environment. Im using the ADC to acquire a signal and then calculate its frequency. The problem i have is i want to access to de adc data register to manage the information and do the calculations but im not sure what is the name of the register. Maybe ADC0_SSFIFO1?
Have i to declarte it or define it?
I am new in this of microcontroller, sorry
The part of problematic code is:
if (abs(2047-ADC0_SSFIFO1)>maxAmp)
{
maxAmp = abs(2047-ADC0_SSFIFO1);
}
and the compiling error is
error: 'ADC0_SSFIFO1' was not declared in this scope
Thanks