AltSoftSerial #61
Replies: 5 comments 8 replies
-
The pack does not need AltSoftSerial. In the pack code, and on the Arduino instruction page here, you need to enable WT_USE_SERIAL_3 in the wavTrigger.h file. More info can be found here: For compiling code on the Arduino Mega: |
Beta Was this translation helpful? Give feedback.
-
When i remove the AltSoftSerial library for the pack and enable #define WT_USE_SERIAL3 I get the following errors when compiling. Orignially I thought adding AltSoftSerial fixed it, as it compiled without issue but the Mega doesn't seem to communicate with the WavTrigger when I upload that code. Everything else works, but no audio. The test function on the wavtrigger plays the first track. Any suggestions as to what I have configured wrong? C:\Users\ruper\AppData\Local\Temp\ccps5E3X.ltrans0.ltrans.o: In function |
Beta Was this translation helpful? Give feedback.
-
I am sure I am just overlooking something here as I haven't messed with your code. Maybe I have things installed wrong on my system? |
Beta Was this translation helpful? Give feedback.
-
This is what I have in my file: // ================================================================== |
Beta Was this translation helpful? Give feedback.
-
For anyone following along or having issues. You need to update the WavTrigger.h file that is in the arduino library. (I just used wordpad) following the steps laid out in the setup instructions. Remember that you also will need to |
Beta Was this translation helpful? Give feedback.
-
Hi everyone. Thanks for letting me be a part. For context I am a useful idiot in this area. I can't really program, but I can assemble parts and solder them together, compile and upload code, ect...
I was running into an issue last night trying to compile the pack code. Was running into an error which I think was related to the AltSoftSerial library. I had it installed, but not added to the project. It seemed like adding a call "#include <AltSoftSerial.h>" to my code fixed it.
Is this expected? If it is I might suggest adding to the documentation. (I couldn't find it anywhere myself, but maybe I just missed it).
I have so far soldered the pack project board together. It took a bit to decipher the schematic, but ultimately it made sense to me. Hoping to get my Mega setup and hooked up this evening to give the pack a test run.
Thanks again!
Beta Was this translation helpful? Give feedback.
All reactions