Open ranranking opened 2 years ago
Hey @ranranking thanks for trying out the code. Can we move the conversation here: https://github.com/openUC2/UC2-REST? This is the place for the ESP32/Arduino Firmware. Just copy-paste the stuff above and open a new issue please :)
There are compile issue to use the ps3 or ps4Controller library. The Error is written as 'Error compiling for the board esp32 DEV Module'. The problem is the library only compatible with old version of the ESP libaray. Solution is listed as in here
Short summary:
// esp_bt_gap_set_scan_mode(ESP_BT_CONNECTABLE, ESP_BT_NON_DISCOVERABLE);
#define ESP_BD_ADDR_STR "%02hhx:%02hhx:%02hhx:%02hhx:%02hhx:%02hhx"
Now you should be able to compile your code