Closed datboi2008 closed 1 year ago
select arduino leonardo as your board type, this code is not for the TinyUSB stack but regular arduino PluggableUSB
after removing the tinyUSB, i just get this error
In file included from C:\Users\Tarquin G\Documents\Arduino\libraries\Keyboard\src/HID.h:34:0, from C:\Users\Tarquin G\Documents\Arduino\libraries\Keyboard\src/Keyboard.h:25, from F:\PN5180-cardio-PN532\PN5180-cardio-PN532\PN532-cardio\PN532-cardio.ino:6: C:\Users\Tarquin G\Documents\Arduino\libraries\Keyboard\src/common/tusb_common.h:70:10: fatal error: tusb_option.h: No such file or directory
^~~~~~~~~~~~~~~
compilation terminated.
exit status 1
Compilation error: exit status 1
Nvm i reinstalled the keyboard library and it uploaded. time to test...
every time i plug it in, the log of spicetools says it detects cardio but it could not "open" the device. ive tried 2 different wirings, which wiring am i supposed to use
***EDIT: it seems to work, but it still says it cant open the device
this msg is probably refering to another interface of the device, if card scan works then i wouldn't bother about the error message
when compiling before the upload, it gives me this error.
In file included from C:\Users\Tarquin G\Documents\Arduino\libraries\Adafruit_TinyUSB_Arduino-master\src/tusb_option.h:190:0, from C:\Users\Tarquin G\Documents\Arduino\libraries\Keyboard\src/common/tusb_common.h:70, from C:\Users\Tarquin G\Documents\Arduino\libraries\Keyboard\src/HID.h:34, from C:\Users\Tarquin G\Documents\Arduino\libraries\Keyboard\src/Keyboard.h:25, from F:\PN5180-cardio-PN532\PN5180-cardio-PN532\PN532-cardio\PN532-cardio.ino:6: C:\Users\Tarquin G\Documents\Arduino\libraries\Adafruit_TinyUSB_Arduino-master\src/tusb_config.h:46:4: error: #error TinyUSB Arduino Library does not support your core yet
error TinyUSB Arduino Library does not support your core yet
exit status 1
Compilation error: exit status 1
(NOTE: Im new to arduino and just bought the leonardo just for the purpose of a card reader.)