uaveiro-leci/2ano/2semestre/ac2/aula02/part1-ex1.c

14 lines
246 B
C
Raw Normal View History

#include <detpic32.h>
int main() {
int counter = 0;
while (1) {
putChar('\r');
printInt(counter, 10 | 4 << 16);
resetCoreTimer();
while (readCoreTimer() < 200000);
counter++;
}
return 0;
}