I want to know how to modify the next function to send an structure and no the typedef BYTE;
USB_WriteEP(0x81,InReport, sizeof(InReport));
the structure is:
typedef struct{ unsigned char Header; RTC_TIME TStamp; // Timestamp Hs,Ms,Ss,mS. unsigned char IMU[18]; }S_IMUPACKET;
May be there is another way to send the data. I'm all ears :) Thanks..
View all questions in Keil forum