Fatal error: esp_bt_main.h: No such file or directory

I'm working on a code to make a small RC car with a PS3 controller and an ESP 32.
I'm using the Ps3Controller.h library but when compiling the demo code included I get the following error

/Users/thomaschallis/Documents/Arduino/libraries/PS3_Controller_Host/src/Ps3Controller.cpp:3:10: fatal error: esp_bt_main.h: No such file or directory
 #include <esp_bt_main.h>
          ^~~~~~~~~~~~~~~
compilation terminated.

exit status 1

I'm assuming I need the missing library but I am unsure where to get it.

Thanks for any help.

Which board have you got selected in the IDE ?

I had it on my arduino nano :man_facepalming:

thank you

This topic was automatically closed 180 days after the last reply. New replies are no longer allowed.