/Designs/STOPWATCH02A/SW/main.c |
---|
139,7 → 139,7 |
section[3] = (time << 16) + get_timer0(); |
// odesli namerene hodnoty |
printf(usb_cdc_putc, "\n\r %7lu %7.0f %7.0f %7.0f %7.0f", run, section[0]/15.625, section[1]/15.625, section[2]/15.625, section[3]/15.625); |
printf(usb_cdc_putc, "\n\r %7lu %7.1f %7.1f %7.1f %7.1f", run, section[0]/15.625, section[1]/15.625, section[2]/15.625, section[3]/15.625); //konstanta je kvuli prevodu do rozzumnych jednotek [ms] |
} |
} |
} |