Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
我有一根 USB LPT 电缆(图片),我想控制它的输出引脚。 我不熟悉 USB 连接编码。我搜索过,但找不到任何对 USB LPT 编码有用的东西。
任何人都可以分享用于控制输出引脚的简单代码。
这种场景有很多代码示例。你没有提到你的操作系统,所以我假设是 Windows 的味道,但对于 Linux,它是相似的。
查看适用于 Windows 示例代码的出色站点 CodeProject并根据您的需要进行调整。