playfultechnology / audio-guestbook

The "audio guestbook" is a converted telephone handset that guests can use to leave recorded messages at weddings and parties
GNU General Public License v3.0
141 stars 88 forks source link

Please help with the audio guestbook #130

Closed Patrick838e closed 1 year ago

Patrick838e commented 1 year ago

Arduino: 1.8.9 (Windows 10), TD: 1.58, Board: "Teensy 4.0, Serial, 150 MHz, Faster, German, Normal"

C:\audio-guestbook\audio-guestbook.ino:22:6: error: stray '\' in program 22 */C:\audio-guestbook ^ C:\audio-guestbook\audio-guestbook.ino:22:5: error: found ':' in nested-name-specifier, expected '::' 22 */C:\audio-guestbook ^

C:\audio-guestbook\audio-guestbook.ino:22:4: error: 'C' does not name a type 22 | */C:\audio-guestbook | ^ C:\audio-guestbook\audio-guestbook.ino:65:1: error: 'Bounce' does not name a type; did you mean 'Bounce_h'? 65 | Bounce buttonRecord = Bounce(HOOK_PIN, 40); | ^~ | Bounce_h C:\audio-guestbook\audio-guestbook.ino:66:1: error: 'Bounce' does not name a type; did you mean 'Bounce_h'? 66 | Bounce buttonPlay = Bounce(PLAYBACK_BUTTON_PIN, 40); | ^~ | Bounce_h C:\audio-guestbook\audio-guestbook.ino: In function 'void setup()': C:\audio-guestbook\audio-guestbook.ino:139:5: error: 'MTP' was not declared in this scope 139 | MTP.begin(); | ^~~ C:\audio-guestbook\audio-guestbook.ino: In function 'void loop()': C:\audio-guestbook\audio-guestbook.ino:164:3: error: 'buttonRecord' was not declared in this scope 164 | buttonRecord.update(13, HIGH); | ^~~~ C:\audio-guestbook\audio-guestbook.ino:165:3: error: 'buttonPlay' was not declared in this scope 165 | buttonPlay.update(1000); | ^~~~~~ C:\audio-guestbook\audio-guestbook.ino:237:3: error: 'MTP' was not declared in this scope 237 | MTP.loop(); // This is mandatory to be placed in the loop code. | ^~~ C:\audio-guestbook\audio-guestbook.ino: In function 'void setMTPdeviceChecks(bool)': C:\audio-guestbook\audio-guestbook.ino:244:5: error: 'MTP' was not declared in this scope 244 | MTP.storage()->set_DeltaDeviceCheckTimeMS(MTPcheckInterval); | ^~~ C:\audio-guestbook\audio-guestbook.ino:249:5: error: 'MTP' was not declared in this scope 249 | MTP.storage()->set_DeltaDeviceCheckTimeMS((uint32_t) -1); | ^~~ C:\audio-guestbook\audio-guestbook.ino: In function 'void playAllRecordings()': C:\audio-guestbook\audio-guestbook.ino:380:7: error: 'buttonPlay' was not declared in this scope 380 | buttonPlay.update(); | ^~~~~~ C:\audio-guestbook\audio-guestbook.ino:381:7: error: 'buttonRecord' was not declared in this scope 381 | buttonRecord.update(); | ^~~~ C:\audio-guestbook\audio-guestbook.ino: In function 'void playLastRecording()': C:\audio-guestbook\audio-guestbook.ino:413:7: error: 'buttonPlay' was not declared in this scope 413 | buttonPlay.update(); | ^~~~~~ C:\audio-guestbook\audio-guestbook.ino:414:7: error: 'buttonRecord' was not declared in this scope 414 | buttonRecord.update(); | ^~~~ C:\audio-guestbook\audio-guestbook.ino: In function 'void wait(unsigned int)': C:\audio-guestbook\audio-guestbook.ino:453:5: error: 'buttonRecord' was not declared in this scope 453 | buttonRecord.update(); | ^~~~ C:\audio-guestbook\audio-guestbook.ino:454:5: error: 'buttonPlay' was not declared in this scope 454 | buttonPlay.update(); | ^~~~~~ Multiple libraries were found for "SD.h" Used: C:\Program Files (x86)\Arduino\hardware\teensy\avr\libraries\SD Not used: C:\Program Files (x86)\Arduino\libraries\SD Error compiling for board Teensy 4.0.

This report would have more information with "Show verbose output during compilation" option enabled in File -> Preferences.