#include #include #include #include int main(int argc, char *argv[]) { long F_CPU=(long) atoi(argv[argc-2]); int RBAUD=(int) atoi(argv[argc-1]); int pulse_res=F_CPU/256/RBAUD; int c; FILE *fone; fone = fopen("table.h","w+"); fprintf(fone,"const uint8_t sin_l[%d] PROGMEM={",pulse_res); for(c=0;c