As it seems that initialization is a bit hit and missįtdi.SetFlowControl(FTDI_SIO_DISABLE_FLOW_CTRL) "", // URL (web page to visit if no installed apps support the accessory) "Sketch to interface to USB PM Sensor", // Description (user-visible string) ![]() Rcode = pftdi->SetFlowControl(FTDI_SIO_DISABLE_FLOW_CTRL) ĮrrorMessage(PSTR("SetFlowControl"), rcode) ĪDK adk(&Usb, "Arduino Demo Kit", // Manufacturer Name The code I’m using is derived from the USBFTDILoopback example sketch: class FTDIAsync : public FTDIAsyncOperĮrrorMessage(PSTR("SetBaudRate"), rcode) This works when I plug in the device to the PC using the FTDI Windows drivers. (without the first character, which is the command identifier). ![]() The device is answering back with a copy of that string ![]() (which is a line scan camera, not that this matters). The Arduino should send, via the USB Host Shield, an ASCII string, terminated with CR+LF, out to the device I’m still trying to get the communication with a FTDI245BL going.
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |