Na itt jön a probléma, mert a fordítás a következő hibákat sorolja fel.
- USBCore.cpp:In function 'void Recv(volatile u8*, u8)'
USBCore.cpp:129: error: 'RXLED1' was not declared in this scope
USBCore.cpp:In function 'u8 Recv8()'
USBCore.cpp:135: error: 'RXLED1' was not declared in this scope
USBCore.cpp:In function 'int USB_Send(u8, const void*, int)'
USBCore.cpp:315: error: 'TXLED1' was not declared in this scope
USBCore.cpp:In function 'void __vector_10()'
USBCore.cpp:620: error: 'TXLED0' was not declared in this scope
USBCore.cpp:622: error: 'RXLED0' was not declared in this scope
USBCore.cpp:In member function 'void USBDevice_::attach()'
USBCore.cpp:666: error: 'TX_RX_LED_INIT' was not declared in this scope
Az a gyanúm, hogy valami a setup-ból hiányzik, valamit oda kéne beírnom, amiből tudná a fordító a hiányolt dolgokat amik a chip USB részének működéséhez kellenek. De azt a panel definició tartalmazhatná, hiszen mindegyiken ugyan ott van például az rx meg a tx led, amit hiányol.
Próbáltam találni micro, vagy Leonardo specifikus arduino minta kódot, hogy lássam mi kell a setupba beleírni, de semmi eredmény.
Van valakinek tapasztalata?