Increase number of boinks before wrap-around

This commit is contained in:
2024-08-24 23:01:43 +02:00
parent 84cf9165d1
commit b624eabeed

View File

@@ -40,9 +40,9 @@ int main(void)
UART_Init(9600);
for (int i = 1;; i++) {
if (i >= 999) i = 1;
sprintf(buf, "BOINK #%03d\r\n", i);
for (unsigned long i = 1;; i++) {
if (i >= 99999) i = 1;
sprintf(buf, "BOINK #%05lu\r\n", i);
UART_SendString(buf);
_delay_ms(3000);
}