I have tried nearly everything I could imagine and I'm kinda new to this. I've tried running different versions of the Arduino software, tried installing all the different files for the Arduino board, and still just can't seem to get it to work I keep getting this error message for something called "usb.ctrlReq_SETUP" if anyone has any ideas let me know please
In file included from /Users/prestongriffin/Downloads/checkm8-a5-master/checkm8-a5/checkm8-a5.ino:4:0:
/Users/prestongriffin/Downloads/checkm8-a5-master/checkm8-a5/constants.h:2:17: note: #pragma message: Building for A5 S5L8942X
pragma message "Building for A5 S5L8942X"
^~~~~~~~~~~~~~~~~~~~~~~~~~
/Users/prestongriffin/Downloads/checkm8-a5-master/checkm8-a5/checkm8-a5.ino: In function 'uint8_t heap_feng_shui_req(uint8_t, bool)':
/Users/prestongriffin/Downloads/checkm8-a5-master/checkm8-a5/checkm8-a5.ino:113:21: error: 'class USB' has no member named 'ctrlReq_SETUP'; did you mean 'ctrlReq'?
setup_rcode = Usb.ctrlReq_SETUP(0, 0, 0x80, 6, serial_idx, 3, 0x40a, sz);
^~~~~
ctrlReq
/Users/prestongriffin/Downloads/checkm8-a5-master/checkm8-a5/checkm8-a5.ino: In function 'void set_global_state()':
/Users/prestongriffin/Downloads/checkm8-a5-master/checkm8-a5/checkm8-a5.ino:159:15: error: 'class USB' has no member named 'ctrlReq_SETUP'; did you mean 'ctrlReq'?
rcode = Usb.ctrlReq_SETUP(0, 0, 0x21, 1, 0, 0, 0, 0x40);
^~~~~
ctrlReq
/Users/prestongriffin/Downloads/checkm8-a5-master/checkm8-a5/checkm8-a5.ino:178:15: error: 'class USB' has no member named 'ctrlReq_SETUP'; did you mean 'ctrlReq'?
rcode = Usb.ctrlReq_SETUP(0, 0, 0x21, 1, 0, 0, 0, padding + 0x40);
^~~~~
ctrlReq
/Users/prestongriffin/Downloads/checkm8-a5-master/checkm8-a5/checkm8-a5.ino: In function 'void heap_occupation()':
/Users/prestongriffin/Downloads/checkm8-a5-master/checkm8-a5/checkm8-a5.ino:206:15: error: 'class USB' has no member named 'ctrlReq_SETUP'; did you mean 'ctrlReq'?
rcode = Usb.ctrlReq_SETUP(0, 0, 0, 0, 0, 0, 0, 0x40);
^~~~~
ctrlReq
/Users/prestongriffin/Downloads/checkm8-a5-master/checkm8-a5/checkm8-a5.ino:218:15: error: 'class USB' has no member named 'ctrlReq_SETUP'; did you mean 'ctrlReq'?
rcode = Usb.ctrlReq_SETUP(0, 0, 0x21, 1, 0, 0, 0, sizeof(payload));
^~~~~
ctrlReq
Multiple libraries were found for "Usb.h"
Used: /Users/prestongriffin/Documents/Arduino/libraries/USB_Host_Shield_Library_2.0
Not used: /Users/prestongriffin/Documents/Arduino/libraries/USBHost
exit status 1
Compilation error: 'class USB' has no member named 'ctrlReq_SETUP'; did you mean 'ctrlReq'?
I have tried nearly everything I could imagine and I'm kinda new to this. I've tried running different versions of the Arduino software, tried installing all the different files for the Arduino board, and still just can't seem to get it to work I keep getting this error message for something called "usb.ctrlReq_SETUP" if anyone has any ideas let me know please
In file included from /Users/prestongriffin/Downloads/checkm8-a5-master/checkm8-a5/checkm8-a5.ino:4:0: /Users/prestongriffin/Downloads/checkm8-a5-master/checkm8-a5/constants.h:2:17: note: #pragma message: Building for A5 S5L8942X
pragma message "Building for A5 S5L8942X"
/Users/prestongriffin/Downloads/checkm8-a5-master/checkm8-a5/checkm8-a5.ino: In function 'uint8_t heap_feng_shui_req(uint8_t, bool)': /Users/prestongriffin/Downloads/checkm8-a5-master/checkm8-a5/checkm8-a5.ino:113:21: error: 'class USB' has no member named 'ctrlReq_SETUP'; did you mean 'ctrlReq'? setup_rcode = Usb.ctrlReq_SETUP(0, 0, 0x80, 6, serial_idx, 3, 0x40a, sz); ^
~~~~ ctrlReq /Users/prestongriffin/Downloads/checkm8-a5-master/checkm8-a5/checkm8-a5.ino: In function 'void set_global_state()': /Users/prestongriffin/Downloads/checkm8-a5-master/checkm8-a5/checkm8-a5.ino:159:15: error: 'class USB' has no member named 'ctrlReq_SETUP'; did you mean 'ctrlReq'? rcode = Usb.ctrlReq_SETUP(0, 0, 0x21, 1, 0, 0, 0, 0x40); ^~~~~ ctrlReq /Users/prestongriffin/Downloads/checkm8-a5-master/checkm8-a5/checkm8-a5.ino:178:15: error: 'class USB' has no member named 'ctrlReq_SETUP'; did you mean 'ctrlReq'? rcode = Usb.ctrlReq_SETUP(0, 0, 0x21, 1, 0, 0, 0, padding + 0x40); ^~~~~ ctrlReq /Users/prestongriffin/Downloads/checkm8-a5-master/checkm8-a5/checkm8-a5.ino: In function 'void heap_occupation()': /Users/prestongriffin/Downloads/checkm8-a5-master/checkm8-a5/checkm8-a5.ino:206:15: error: 'class USB' has no member named 'ctrlReq_SETUP'; did you mean 'ctrlReq'? rcode = Usb.ctrlReq_SETUP(0, 0, 0, 0, 0, 0, 0, 0x40); ^~~~~ ctrlReq /Users/prestongriffin/Downloads/checkm8-a5-master/checkm8-a5/checkm8-a5.ino:218:15: error: 'class USB' has no member named 'ctrlReq_SETUP'; did you mean 'ctrlReq'? rcode = Usb.ctrlReq_SETUP(0, 0, 0x21, 1, 0, 0, 0, sizeof(payload)); ^~~~~ ctrlReq Multiple libraries were found for "Usb.h" Used: /Users/prestongriffin/Documents/Arduino/libraries/USB_Host_Shield_Library_2.0 Not used: /Users/prestongriffin/Documents/Arduino/libraries/USBHost exit status 1Compilation error: 'class USB' has no member named 'ctrlReq_SETUP'; did you mean 'ctrlReq'?