LPC11U14 Timer

cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 

LPC11U14 Timer

532 Views
lpcware
NXP Employee
NXP Employee
Content originally posted in LPCWare by steventso92 on Fri Feb 01 00:16:40 MST 2013
Anyone have any idea how to create a "delay(int seconds)" function using the timer16 or timer32 module? Thanks!
0 Kudos
Reply
1 Reply

514 Views
lpcware
NXP Employee
NXP Employee
Content originally posted in LPCWare by CroesJeroen on Fri Feb 01 15:22:36 MST 2013
You'll have to firstly understand the Timer and have the correct prescaler so a delay of certain seconds can be achived. You can create a function that converts the argument seconds to a match value for the timer
0 Kudos
Reply