Microchip
直播中

陈枫希

7年用户 201经验值
私信 关注
[问答]

有使用PIC18F2550作为USB到I/O的代码示例吗

你好,我订购了USB HID FS 19 GPIO芯片SOIC28(http://www. Delcom产品…号码=902252-SOIC28),它是基于PIC18F2550的。我正在寻找这个芯片的C语言API或C代码示例,我没有找到这样的东西。我想把这个芯片仅仅用作USB到I/O,所以如果有一个使用PIC18F2550作为USB到I/O的代码示例,对我来说就好了。有没有人有C代码示例或USB HID FS 19 G的C?PIO芯片SOIC28?谢谢,Ofir

以上来自于百度翻译


      以下为原文

    Hello.
I ordered USB HID FS 19 GPIO CHIP SOIC28(https://www.delcomproduct...Number=902252-SOIC28), which is based on PIC18F2550. I'm looking for c# API or c# code examples for this chip, and I don't find something like this.
I want to use this chip only as USB to I/O, so if there is a code example for using PIC18F2550 as USB to I/O, it will be fine for me.

Is there anybody who has c# code examples or c# API for USB HID FS 19 GPIO CHIP SOIC28?

Thanks,
Ofir

回帖(1)

贾飞小

2018-9-28 11:16:40
应用程序的微芯片库具有USB HID的样本代码。你可以从那里开始修改你的需要。还有一些实用工具隐藏了你可以使用但用VisualC++编写的示例代码。你可以试着把它们编译成库并在你的C项目中添加DLL引用。我认为它可能会起作用。对于一个新的设计,我不建议使用PIC18F2550,你可以使用PIC18FXXK50系列。

以上来自于百度翻译


      以下为原文

    Microchip Libraries for Applications has sample codes with USB HID. You can start from there and modify to suite your need.
There are also some Utilities HID sample codes you can use but written with Visual C++. You can try to compile them as libraries and add the DLL reference in your C# project I think it might work.
For a new design I wouldn't recommend using the PIC18F2550, you can use the PIC18FxxK50 series.
举报

更多回帖

发帖
×
20
完善资料,
赚取积分