使用C/C ++启用并行端口 [英] Enabling Parallel Ports with C/C++

查看:94
本文介绍了使用C/C ++启用并行端口的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

你好,
我正在搜索有关使用C编程来控制并行端口的信息,但仅仅是VC ++,否则我发现到现在为止.我是一名初学者C程序员,我想编写一个程序来启用输入的端口并提供+ 5V电压,我又如何不能一次全部启用这些功能呢?我看到了_out(0x378,.....但是我不知道如何使用它.感谢帮助.

Hello,
I am searching about controlling parallel ports by using C programming but just VC++ or else i found till now. I am a beginner C programmerand i want to write a program which will enable the entered port and will give +5V how can i enable these one by one not all at same time?i saw about _out(0x378,..... but don t know how to use it.Thanks for help.

推荐答案

_out()我认为是Linux.

您可以尝试以下链接和此
_out() is for Linux I think.

You can try this link and this link.


这篇关于使用C/C ++启用并行端口的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆