Re: 如何使用for迴圈寫delay時間?
|
||||
---|---|---|---|---|
版主
|
不一定會是固定的,因為不知你的 Fosc 為何?
建議先用MPLAB SIM 配合 Stopwatch 來量一下軟體的延遲時間,使用MPLAB SIM 時要先在 Setting 選項下先設定好 Fosc。這樣才會準的。
發表於: 2009/9/28 9:43
|
|||
|
Re: 如何使用for迴圈寫delay時間?
|
||||
---|---|---|---|---|
資深會員
|
for(cnt=0;cnt<100;cnt++) Nop();
發表於: 2009/9/28 9:36
|
|||
|
如何使用for迴圈寫delay時間?
|
||||
---|---|---|---|---|
新會員
|
請問如何使用for迴圈寫一個delay時間為100us?
發表於: 2009/9/28 9:35
|
|||
|