?? timer2a.bas
字號(hào):
'--------------------------------------------------------------
' (c) 1997-1999 MCS Electronics
'--------------------------------------------------------------
' file: TIMER2.BAS
' *TIMER2 is used as a baudrate generator
' Select 8052.dat or 89s8252.dat !!
'--------------------------------------------------------------
'Note that timer2 can be used to generate greather baud rates
'as possible with the timer1 baudrate generator
'--------------- TIMER 2 modes ------------------
'0=16-bit auto reload
'1=16-bit capture
'2=baudrate generator
'3=receive only
'4=transmit only
'5=clock output
Config Timer2 = Timer , Gate = Internal , Mode = 2'use timer2 as a baudrate generator
Print "timer 2 as a baudrate generator"
End
?? 快捷鍵說(shuō)明
復(fù)制代碼
Ctrl + C
搜索代碼
Ctrl + F
全屏模式
F11
切換主題
Ctrl + Shift + D
顯示快捷鍵
?
增大字號(hào)
Ctrl + =
減小字號(hào)
Ctrl + -