嵌入式:4线电阻式触摸屏

发布于 2024-11-19 14:52:15 字数 192 浏览 4 评论 0 原文

我正在尝试将 4 线电阻式触摸屏连接到 Microchip 的 PIC24FJ256。这是我第一次使用这些,我正在寻找有关如何进行的指导。

我所能找到的只是 Microchip 的一个名为“ResTouchScreen.c”的驱动程序。在我继续研究这个驱动程序之前,有人编写过用于处理电阻式触摸屏的库吗?这项任务有多复杂?

谢谢 ! 菲尔

I am trying to interface a 4-wire resistive touchscreen to a PIC24FJ256 from Microchip. This is my first time using these and am looking for guidance as to how to go about it.

All I could find is a driver from Microchip called "ResTouchScreen.c". Before I go ahead and study this driver, has anyone written a library for handling resistive touch screens ? How complex is this task ?

Thanks !
Phil

如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。

扫码二维码加入Web技术交流群

发布评论

需要 登录 才能够评论, 你可以免费 注册 一个本站的账号。

评论(1

昵称有卵用 2024-11-26 14:52:15

我定期使用这些微控制器,并且曾经做过一个涉及 4 线电阻式触摸屏的项目,尽管它连接到嵌入式计算机而不是 PIC。我所做的就是在嵌入式计算机和触摸屏之间连接一个触摸屏驱动程序。

然而,我认为你真正想做的是直接用微型读取触摸屏。在这方面,网上有很多信息,但我发现你可以按照此应用笔记。它讨论了使用 msp430,但是您正在使用的 micro 也可以以相同的方式使用,因为它具有所需的所有外设。

我希望现在更清楚一点。

I work with these micros on a regular basis, and did once a project involving a 4 wire resistive touchscreen, although it was connect to an embedded computer instead of a PIC. What I did was to hook a touchscreen driver between the embedded computer and the touchscreen.

However, I think that what you actually want to do is to read the touchscreen directly with the micro. In this regard there is much info in the web, but I find that you can do as suggested in this appnote. It talks about using an msp430, but the micro you are using can be also used in the same way since it has all the peripherals needed.

I hope it is a bit more clear now.

~没有更多了~
我们使用 Cookies 和其他技术来定制您的体验包括您的登录状态等。通过阅读我们的 隐私政策 了解更多相关信息。 单击 接受 或继续使用网站,即表示您同意使用 Cookies 和您的相关数据。
原文