Simple method for sending/receiving USB data from the PIC.

C# | Visual Basic | Managed C++ |
Public Function EasyCommand ( _ Command As Byte, _ rxlength As Integer, _ data As Byte(), _ <OutAttribute> ByRef dataout As Byte() _ ) As UInteger
public: unsigned int EasyCommand ( unsigned char Command, int rxlength, array<unsigned char>^ data, array<unsigned char>^% dataout )


1=Success, 2=Incorrect RX Length, 3=Read Failed
Assembly: PICUSB Version: 1.0.2970.38156 (Module: PICUSB)