Hi there,
I have attached a zip of 3 files. I am using an Arduino Due with a data logging shield that contains a CSV file that is being read and then the numbers are assigned to a neopixel (60 rgbw) strip. The second attachment called "SDCSVdata" works and plays the CSV content on the neopixel strip, however when i try to combine the script as shown in "Full Sequence Test03" file, it does not play the content on the strip or the sound together.
I am trying to play a sound file from the Bare Conductive Touchboard using the Wire library whilst simultaneously playing the content from the SD card on the neopixel strip.
For now my sequence plays like this:
I push the button , hover over the range sensor, the sequence starts, the initial wait time of 2 seconds occurs then the SD card reads for a bit then stops and the sound also stops.
button pushed
Starting sequence 1
sent church to play
current millis:2000
id: 0 - 0 0 0 0
current millis:2006
id: 0 - 0 0 0 0
current millis:2010
id: 0 - 3 0 0 0
current millis:2013
id: 0 - 6 0 0 0
current millis:2016
id: 0 - 11 0 0 0
current millis:2019
id: 0 - 17 0 0 0
current millis:2023
...
current millis:2220
id: 0 - 0 0 0 0
current millis:2224
id: 0 - 0 0 0 0
current millis:2228
end church sound
Starting sequence 0
i've done this before triggering sound with the wire library and playing servos and lights together so I know this side is good. I think my problem is in the for loop when I am reading the CSV file, not sure, but if anyone can help it would be much appreciated.
A
IPCFull Sequence Test 03.zip (6.45 KB)
181029_SDCSVdata.zip (1.82 KB)