Programming a counter
sparkfun's lilypad mp3 https://www.sparkfun.com/products/11013
i know link above not true arduino hoping still here. want tweak programming can hook "alarm" wire https://www.sparkfun.com/products/13285 pin t1 of lilypad. lilypad go through process
1. counter = 1
2. t1 goes low plays track 1
3. counter = counter + 1 = name of next track
4. t1 goes low plays track 2
5. counter = counter + 1 = name of next track
6. t1 goes low plays track 3
7. counter = counter + 1 = name of next track
8. t1 goes low plays track 4
9. counter = counter + 1 = name of next track
10. t1 goes low plays track 5
11. counter = counter (reset of counter 1) = name of next track
i know link above not true arduino hoping still here. want tweak programming can hook "alarm" wire https://www.sparkfun.com/products/13285 pin t1 of lilypad. lilypad go through process
1. counter = 1
2. t1 goes low plays track 1
3. counter = counter + 1 = name of next track
4. t1 goes low plays track 2
5. counter = counter + 1 = name of next track
6. t1 goes low plays track 3
7. counter = counter + 1 = name of next track
8. t1 goes low plays track 4
9. counter = counter + 1 = name of next track
10. t1 goes low plays track 5
11. counter = counter (reset of counter 1) = name of next track
problem: after track 5 t1 low, , program waits t1 go low playing track 1.
Arduino Forum > Using Arduino > Project Guidance > Programming a counter
arduino
Comments
Post a Comment