Squirrels have fuzzy tails.
0 Members and 1 Guest are viewing this topic.
//read timer0's overflow counter, add to timerunsigned long int elapsed_time=timer0GetOverflowCount()*255+TCNT0;int t1=77;int t2=54;rprintf("A %d %d %d\r\n",elapsed_time,t1,t2);rprintf("B %d %d %d %d\r\n",elapsed_time,t1,t2);rprintf("C %d %d %d\r\n",t1,t1,t2);
A 350 0 77B 350 0 77 54C 77 77 54
define RPRINTF_COMPLEX in your makefile or somewhere, and recompile you avrlib.
#ifndef RPRINTF_COMPLEX #define RPRINTF_SIMPLE#endif
Looking in rprintf.h, I found this below code at the top of the file. What exactly does this do?Code: [Select]#ifndef RPRINTF_COMPLEX #define RPRINTF_SIMPLE#endif