/* Main program entry point. This routine configures the hardware required by the application, then enters a loop to run the application tasks in sequence.  */
int main(void)
/* Main program entry point. This routine configures the hardware required by the application, then enters a loop to run the application tasks in sequence.  */
int main(void)
{
  uint16_t Bytes = 0;
  USB_Init();
  while (1)
  {
	Bytes = CDC_Device_BytesReceived(&VirtualSerial_CDC_Interface);
    if(Bytes)
    {
      CDC_Device_SendByte(&VirtualSerial_CDC_Interface, CDC_Device_ReceiveByte(&VirtualSerial_CDC_Interface));
    }
    CDC_Device_USBTask(&VirtualSerial_CDC_Interface);
  }
}