Squintz
Joined: 08 Dec 2009 Posts: 11
|
PIC18F4550 as USB to Serial Converter |
Posted: Mon May 17, 2010 3:52 pm |
|
|
Does anyone have example code for using a PIC as a USB to Serial converter?
I have a device that talks via RS232 and another via USB CDC Virtual Coms. I need to have them talk to each other and since I am already using the PIC18F4550 for another part of my project I figured I would just use it as a serial converter as well. I'm not sure how to code it though.
I have communication working for both USB and Serial but I am not sure how to pass the data from one to the other. It needs to be bi-directional. |
|