Does anyone have any links/info on how to use delays (such as __delay_ms()) and on-chip timers (e.g. timer 0). I think the main question I have is when is best to use each one.
For example which would be better for a small delay in an 'if' statement for debouncing a switch.
Thanks for any help
For example which would be better for a small delay in an 'if' statement for debouncing a switch.
Thanks for any help