void getDateTime() {
char myStr[] = "20-02 20h11.wav000";
char *myPtr = strtok(myStr, " ");
Serial.printf("Date is %s and the time is ", myPtr );
myPtr = strtok(NULL, ".");
Serial.println(myPtr);
}
void setup() {
Serial.begin(115200);
Serial.println("Hello, ESP32!");
getDateTime();
}
void loop() {
delay(10); // this speeds up the simulation
}