Posted on May 17, 2011 at 14:06What do you mean unnecessary math, is the code for getting the RTC_getcounter and getting the corresponding hours, minutes and seconds unimportant. Why does it ignore the RTC increments, what is the better solution for...
Posted on May 17, 2011 at 13:55I also tried using for loops with different counters and using the actual ADCs like for(ctr=0;vtrial<threshold;ctr++), it still loops forever. I also tried using the ADC value and not converting it to double also didn'...
Posted on May 17, 2011 at 13:55I can get the PC clock and date automatically using a program like C#, I can send it to the MCU, I plan to send the clock in the Unix time format, the elapsed seconds after January 1, 1970. My problem is, what code sho...
Posted on May 17, 2011 at 13:55Sorry for not clarifying, this is what I want to do, I need to get the PC clock via usart and use RTCsetcounter=PCclock. After, I need to save the Time and voltage in the sensors per second for a span of a minute or s...