LPC11U14 Timer

取消
显示结果 
显示  仅  | 搜索替代 
您的意思是: 

LPC11U14 Timer

534 次查看
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 项奖励
回复
1 回复

516 次查看
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 项奖励
回复