gpt4 book ai didi

c - 使用 windows.h 在 Visual Studio 中进行串行通信

转载 作者:行者123 更新时间:2023-11-30 18:07:30 25 4
gpt4 key购买 nike

我是 Visual Studio 的新手,我想从 LPC2148 套件传输和接收一些数据,为此我想在 Visual Studio 中进行串行通信。

我在turboC中使用了dos.hBios.h 也用于相同目的,但这些用于 Turbo.C 编译器

在Visual Studio中我发现API中写了Windows头文件,但我不知道如何使用它,请帮助

最佳答案

CodeProject中有很多文章与处理串行通信的库。您可以从here开始和 here .

我还建议使用 C# 来完成此任务会更容易。您将能够更快地构建 GUI,并且已经提供了串行端口控件(无需与 API 作斗争或查找库)。

关于c - 使用 windows.h 在 Visual Studio 中进行串行通信,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/4525031/

25 4 0
Copyright 2021 - 2024 cfsdn All Rights Reserved 蜀ICP备2022000587号
广告合作:1813099741@qq.com 6ren.com