Closed eyuan-creare closed 3 weeks ago
@chipaudette I am having difficulty with my laptop connecting to the Tympan, but I can test this with the #IF 0 and get back to you.
Your laptop won't connect to the Tympan? Weird.
Sometimes, when a program has been compiled to use "MTP Disk" mode and a new program is being pushed that doesn't use MTP, it can have difficulty accepting the program. The reverse is also sometimes a problem (if it's got a non-MTP program but you're trying to push a MTP-enabled program to it). In either case, pressing the Tympan's programming button (the reset button) usually works fine to force the re-programming.
Nicole verified that this example can play a wav file from the SD and record a mic to SD card simultaneously. All that was required was switching the IF statement that was used as a preliminary test.
@chipaudette Shall I go ahead and submit a revision with #IF 0
?
@eyuan-creare, I think that you have the authority to just go ahead and make the change directly to the repo without a Pull Request. You can probably even do the change and commit it here on GitHub without having to pull locally / edit / commit / push.
Whatever method you do, please proceed!
https://github.com/Tympan/Tympan_Library/blob/48257f25616b1af9c89cb80f50c2f53681699250/examples/02-Utility/SD_Card/SdPlay_and_SDWrite/SdPlay_and_SDWrite.ino#L84