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

📄 debuglpt.txt

📁 Parallel port interfacing
💻 TXT
字号:
Flash an led with debug

Is it possible to do this in debug in dos , of course it is . Here is the process for Windows 98 .

1. Open up a dos console . Start / Programs / MS-DOS prompt on my machine.
2. Type in debug on the line displayed on the screen.
3. A - will appear on the next line . After this type in o 378,0 . The led will go out (turn off).
4. Now type in o 378,1 . The led will now go on .


The parameters are as follows 
378 is the address you wish to output to , in this case this is the address of LPT1 on my PC . The second parameter is the value to be outputted , this value is in hexadecimal . So for example to switch all of the leds on you would enter o 378,ff .

⌨️ 快捷键说明

复制代码 Ctrl + C
搜索代码 Ctrl + F
全屏模式 F11
切换主题 Ctrl + Shift + D
显示快捷键 ?
增大字号 Ctrl + =
减小字号 Ctrl + -