我需要代码C#来并行端口发送数据 [英] i need code C# to send data in parallel port

查看:85
本文介绍了我需要代码C#来并行端口发送数据的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

hi
i希望在并行端口发送二进制(高和低)数据,但我不知道我是怎么做的>>>



i赢了7

32位



i看到



hi i want to send data binary (high and low ) in parallel port but i don''t know how i do that >>>

i have win 7
32 bit

i see that

[DllImport("inpout32.dll", EntryPoint = "Out32")]


           public static extern void Out32 (int address, int value);





任何人都知道???



和花药q



是转换器(usb到并行)工作

相同???



any one know ???

and anther q

is converter (usb to parallel ) work
the same ???

推荐答案

首先请看这里: I / O端口未经审查 - 1 - 使用并行端口控制LED(发光二极管) [ ^ ]



相同的代码可能适用于USB->并行转换器,但您可能需要先找到基本端口地址。
Firstly see here: I/O Ports Uncensored - 1 - Controlling LEDs (Light Emiting Diodes) with Parallel Port[^]

The same code will probably work on the USB->parallel converter, but you may need to find the base port address first.


这篇关于我需要代码C#来并行端口发送数据的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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