Hello,
I want to communicate with PIC18F4550 with it's USB interface.
Is there any specific Component to have direct access of USB (like RS232 component ) in Flowcode ?
Someone has a exemple to program USB of PIC18F4550 ?
Thanks.
MIKE
USB of PIC 18F4550
- Steve
- Matrix Staff
- Posts: 3424
- Joined: Tue Jan 03, 2006 3:59 pm
- Has thanked: 114 times
- Been thanked: 422 times
- Contact:
Re: USB of PIC 18F4550
There is a HID USB example on this page:
http://www.matrixmultimedia.com/Flowcode_Components.php
At the moment, that is all we have for USB. But we are looking into it and might be doing some more USB work soon.
http://www.matrixmultimedia.com/Flowcode_Components.php
At the moment, that is all we have for USB. But we are looking into it and might be doing some more USB work soon.
-
- Valued Contributor
- Posts: 2045
- Joined: Wed Aug 27, 2008 10:31 pm
- Location: Netherlands
- Has thanked: 553 times
- Been thanked: 1081 times
- Contact:
Re: USB of PIC 18F4550
Hi Steve,
I'm looking at the HIB USB example, however it includes usb_defs.h which can't be found on my system. Is there anything I need to install to get this file (and probably other parts needed for USB as well) ??
Best regards,
Jac
I'm looking at the HIB USB example, however it includes usb_defs.h which can't be found on my system. Is there anything I need to install to get this file (and probably other parts needed for USB as well) ??
Best regards,
Jac
“Integrity is doing the right thing, even when no one is watching.”
― C.S. Lewis
― C.S. Lewis
- Benj
- Matrix Staff
- Posts: 15312
- Joined: Mon Oct 16, 2006 10:48 am
- Location: Matrix TS Ltd
- Has thanked: 4803 times
- Been thanked: 4314 times
- Contact:
Re: USB of PIC 18F4550
Hello
Im not sure if the external usb_defs file is needed. I have attached it here just incase.
Im not sure if the external usb_defs file is needed. I have attached it here just incase.
- Attachments
-
- usb_defs.h
- (4.03 KiB) Downloaded 425 times
Regards Ben Rowland - MatrixTSL
Flowcode Product Page - Flowcode Help Wiki - Flowcode Examples - Flowcode Blog - Flowcode Course - My YouTube Channel
Flowcode Product Page - Flowcode Help Wiki - Flowcode Examples - Flowcode Blog - Flowcode Course - My YouTube Channel
-
- Valued Contributor
- Posts: 2045
- Joined: Wed Aug 27, 2008 10:31 pm
- Location: Netherlands
- Has thanked: 553 times
- Been thanked: 1081 times
- Contact:
Re: USB of PIC 18F4550
Hi Ben,
Thank you for supplying the file.
The USB example code in the beta components section did not compile when I commented the references to usb_defs.h. After copying the file to C:\Program Files\Matrix Multimedia\Flowcode V3\boostc\include flowcode generates the hex file succesfully.
Best regards,
Jac
Thank you for supplying the file.
The USB example code in the beta components section did not compile when I commented the references to usb_defs.h. After copying the file to C:\Program Files\Matrix Multimedia\Flowcode V3\boostc\include flowcode generates the hex file succesfully.
Best regards,
Jac
“Integrity is doing the right thing, even when no one is watching.”
― C.S. Lewis
― C.S. Lewis