i want to use an if statment to start a timer n then i want it to tell me how long it been going for and then i want it to reset when it get to a lower value. where do i start.
im using the blinky example n guna rea range some stuff n call it course work. but how do i use the timer thats in there, explain that n i might be able to get going.
As it says.
Turn on the power to the timer.
Configure the PCLK you want.
Then configure the timer prescaler and match values.
Configure any potential interrupt handler.
Activate the timer.
Start processing interrupts, or start polling the running timer.
All steps are covered in both the user manual and in existing sample programs.