Counter vs Timer in C - PIC MCU

44 Views Asked by At

I’m sure it’s best practice to use a timer for let’s say button debouncing logic.

But I have some simple code that just counts inside the main while loop.

Are there any big disadvantages to doing that?

0

There are 0 best solutions below