<code>$regfile="m168def.dat"
$crystal= 8000000
Config Timer1 =Timer, Prescale=1
Enable Interrupts
Enable Ovf1
On Ovf1 Overflow_isr
Ddrc=&Hff
Timer1=65130
Do
Nop
Loop
End
Overflow_isr:
Portc.0=not Portc.0
Timer1=65130
Return/<code>
晶振产生时钟,这个图还是可以的,不知道助手是怎么搜索出来的。
閱讀更多 理思錄 的文章