Hello,
I seen that when PC send something to my Arduino, it activate this function into USBCore.cpp
static inline void Recv(volatile u8* data, u8 count)
{
while (count--)
*data++ = UEDATX;
RXLED1; // light the RX LED
RxLEDPulse = TX_RX_LED_PULSE_MS;
}
I don't know which function call this function, but I think it's an interrupt one, do you know how to use this function ?