⭐ 欢迎来到虫虫下载站! | 📦 资源下载 📁 资源专辑 ℹ️ 关于我们
⭐ 虫虫下载站

📄 led2.bas.txt

📁 example for avr beginners with bascom
💻 TXT
字号:
'Program LED2.bas
Dim Led As Byte                         'LED is a Byte variable since it will controls
                                        'entire port P1 (8 LED diodes in total)
                                        'Its value can be anything between 0 and 255
Led = 0                                 'initial value
Do                                      'Do is a start of a Do-Loop loop
P1 = Led                                'LED is now on port p1
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 + Shift + D
显示快捷键 ?
增大字号 Ctrl + =
减小字号 Ctrl + -