void handleCommand(int16_t commandId) {
switch (commandId) {
case 0:
say("Hello, how can I help you?");
break;
// Add more cases for additional commands
default:
say("Sorry, I didn't understand that.");
}
}
void say(const char *text) {
Serial1.print('P'); // Play command on ISD1820
delay(100);
Serial1.println(text);
delay(5000);
}
it says this when i press the debug buttonembedded:startup.tcl:28: Error: Can't find debug.cfg
in procedure 'script'
at file "embedded:startup.tcl", line 28
[2024-02-15T14:27:02.919Z] SERVER CONSOLE DEBUG: onBackendConnect: gdb-server session closed
GDB server session ended. This terminal will be reused, waiting for next session to start...
Cross-posting is against the Arduino forum rules. The reason is that duplicate posts can waste the time of the people trying to help. Someone might spend a lot of time investigating and writing a detailed answer on one topic, without knowing that someone else already did the same in the other topic.
Repeated cross-posting can result in a suspension from the forum.
In the future, please only create one topic for each distinct subject matter. This is basic forum etiquette, as explained in the "How to get the best out of this forum" guide. It contains a lot of other useful information. Please read it.
From the list of download links under the "Assets" section of the page, click the link with the name:
If you want the installer package: arduino-ide_2.2.1_Windows_64bit.exe
If you want the "MSI" package: arduino-ide_2.2.1_Windows_64bit.msi
If you want the "ZIP" package: arduino-ide_2.2.1_Windows_64bit.zip
ⓘ If you aren't sure which one you need, use arduino-ide_2.2.1_Windows_64bit.exe
Wait for the download to finish.
Install Arduino IDE from the downloaded file as you would normally do.
When using Arduino IDE 2.2.1, you will find that Arduino IDE periodically shows an "Update Available" dialog to offer you an update to the newer version of Arduino IDE. You must not accept these updates until after you see that a new version of the "esp32" boards platform has been released.
Did you perform the instructions I provided in post #12? If not, please perform them, making sure to follow the instructions very carefully and not skip any step, and then try again.