Soundboard = Mega
ACT = D50
TX = D18
RX = D19
RST = D11
L = Amp input +
GND = Amp input -
UG = looped to GND
VIN = 5V on Mega
GND = GND on Mega
Code: Select all
// soundboard pins and setup
#define SFX_RST 11
#define SFX_RX 19
#define SFX_TX 18
const int ACT = 50; // this allows us to know if the audio is playing
SoftwareSerial ss = SoftwareSerial(SFX_TX, SFX_RX);
Adafruit_Soundboard sfx = Adafruit_Soundboard(&Serial1, NULL, SFX_RST);
Serial1.begin(9600);