I have a setup running... Lazarus on the PC and a PIC32 running a whole heap of stuff.... I have setup a CDC virtual com port and I can talk between the two!!!!!
However!! there is always something not documented!! If I send a string -> 64 bytes from the pic32 I send it in the USB buffer easy peasy!! From the PC side each character sent seems to be in buffer[0]... I can't seem to find out how to fill the entire 64 bytes on the PC side.... It seems a waste to just send 1 byte and 63 empty ones...
Any ideas... If I can't then I'll just find a HID interface for Lazarus...
However!! there is always something not documented!! If I send a string -> 64 bytes from the pic32 I send it in the USB buffer easy peasy!! From the PC side each character sent seems to be in buffer[0]... I can't seem to find out how to fill the entire 64 bytes on the PC side.... It seems a waste to just send 1 byte and 63 empty ones...
Any ideas... If I can't then I'll just find a HID interface for Lazarus...