r/ArduinoHelp • u/Cosplay_Pappy • 25d 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/Cosplay_Pappy 20d ago
The last paragraph in your previous comment came off as a bit condescending to me. I apologize since you didn’t mean it that way. I clearly misread the tone.
I did add what the code does in my previous comment, but I’ll restate it here with a bit more detail. The code is for a regular esp32 to connect with a ps5 controller over Bluetooth. It then takes specific inputs from the controller (cross, square, and circle buttons and analog sticks) and plays either a random audio from a list on a connected SD card (cross button) or a preselected audio (square and circle buttons). The analog stick inputs control four servos that are controlling what is essentially a robot arm with no grip.
I hope this helps, and I’m sorry again for misunderstanding your tone. Thank you!