Re: Native Smartmeter/datalogger
Posted: Wed Nov 19, 2014 2:26 pm
this is not where it would belong.
Plase make sure you understand the program flow.
In at_base_cmd.c
at_setupCmdCipStartLog
os_timer_arm(&polling_timer, 1000, 1);
replace with
os_timer_arm(&polling_timer, 60000, 1);
in
polling_timer_elapsed
remove all the GPIO checking and add your ADC code.
Plase make sure you understand the program flow.
In at_base_cmd.c
at_setupCmdCipStartLog
os_timer_arm(&polling_timer, 1000, 1);
replace with
os_timer_arm(&polling_timer, 60000, 1);
in
polling_timer_elapsed
remove all the GPIO checking and add your ADC code.