djsfantasi
- Joined Apr 11, 2010
- 9,237
What difficulties are you having? The sketch that you attached won't run as is, so I am curious as to what specific problems you're encountering.
And what are you using to simulate the trigger? You need to define the pin and you can use a SPST switch connected to ground and the pin to simulate the sensor. And you need an mp3 file named "track001.mp3", on an SD card inserted in the shield.
Oh, and when posting code, use [ code] and [ /code] tags to surround it (without the space). It makes it much easier to read your post.
And what are you using to simulate the trigger? You need to define the pin and you can use a SPST switch connected to ground and the pin to simulate the sensor. And you need an mp3 file named "track001.mp3", on an SD card inserted in the shield.
Oh, and when posting code, use [ code] and [ /code] tags to surround it (without the space). It makes it much easier to read your post.