I am looking fro an example arduino code to try recording using the on board mic on the geeetech shield. Would be great to get a basic example.
I have tried the example that adafruit has but cant get it up and running..probably a pin miss match
for your reference here is the example by adafruit
https://learn.adafruit.com/adafruit-vs1 ... g-recorder
and the basics of the pin connections to the arduino are as follows
Code: Select all
// include SPI, MP3 and SD libraries #include <SPI.h> #include <Adafruit_VS1053.h> #include <SD.h> // define the pins used #define RESET 8 // VS1053 reset pin (output) #define CS 9 // VS1053 chip select pin (output) #define DCS 6 // VS1053 Data/command select pin (output #define CARDCS A1 // Card chip select pin change from digital pin 4 #define DREQ A0 // VS1053 Data request, ideally an Interrupt pin// changed from digital pin 3 #define REC_BUTTON 7