r/ArduinoHelp • u/Cosplay_Pappy • 26d ago
Bluepad32 end curly bracket error
/r/esp32projects/comments/1xp1ubo/bluepad32_end_curly_bracket_error/I hope someone can help with this. I’ve been trying to use Bluepad32 to pair a ps5 controller with my esp32-s3. I need it to control a music player and four servos. My code is fine and has all closed curly brackets, but the verify output keeps telling me I need an ending curly brackets after input at the very end of my code. I think it has to do with the FreeRTOS file.
I have no idea how to fix this. Please help! I’ve been trying to fix this for several days. If I add the curly bracket to the FreeRTOS file, it just breaks more.
1
Upvotes
View all comments
Show parent comment
1
u/gm310509 25d ago
It may also help if you explain why a hardware issue caused a mismatched braces (curly bracket) compiler issue.
The reason I ask is because the compiler is not affected by incorrect hardware. Indeed you don't even need an Arduino to be connected to your PC to compile your code. And compiling is the step in the upload process that will report syntax errors like mismatched braces.
So my thinking is that there is a lot more going on here than what you have shared so far if you really believe that a hardware error caused the mismatch braces error. Because that definitely doesn't sound like two related issues. It sounds like you might have had two unrelated issues and happen to have resolved both at the same time (a very common scenario) and possibly conflated them into a single issue.