Go Down

Topic: How to use Recv() in USBCore.cpp (Read 171 times) previous topic - next topic

arduiko

Hello,

I seen that when PC send something to my Arduino, it activate this function into USBCore.cpp

Code: [Select]

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 ?

Go Up