led1.bas.txt
来自「example for avr beginners with bascom」· 文本 代码 · 共 10 行
TXT
10 行
'program LED1.bas
Dim Led As Bit 'LED is a Bit variable since it will turn on and
'off the LED
Led = 0 'initial value
Do 'Do is a start of a Do-Loop loop
P1.0 = Led 'LED is at the pin p1.0
Wait 1 'wait 1 second
Led = Not Led 'invert LED value
Loop 'end of Do-Loop loop
End 'end of program
⌨️ 快捷键说明
复制代码Ctrl + C
搜索代码Ctrl + F
全屏模式F11
增大字号Ctrl + =
减小字号Ctrl + -
显示快捷键?