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.
iv checked all these thing you mentioned, however i suck at this, i have no idea how to even start this even with all your valuable input. its like having the answer put in front of my face but i jsut dont know where to put it in the code or how to use it.
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.