I did:
#include <usb_serial.h>
RSGPIO: In function 'void setup()':
HRSGPIO:138: error: 'usb_init' was not declared in this scope
usb_init();
^
HRSGPIO: In function 'void loop()':
HRSGPIO:204: warning: comparison between signed and unsigned integer expressions
if (usb_serial_available() >= sizeof(controlPacket)) {
^
'usb_configured' was not declared in this scope
I expected those functions to be defined.
Also I could not find any example code?
#include <usb_serial.h>
RSGPIO: In function 'void setup()':
HRSGPIO:138: error: 'usb_init' was not declared in this scope
usb_init();
^
HRSGPIO: In function 'void loop()':
HRSGPIO:204: warning: comparison between signed and unsigned integer expressions
if (usb_serial_available() >= sizeof(controlPacket)) {
^
'usb_configured' was not declared in this scope
I expected those functions to be defined.
Also I could not find any example code?