Quantcast
Channel: Software and microcontrollers - Pololu Forum
Viewing all articles
Browse latest Browse all 81

Have each motion trigger progress to next sequence

$
0
0

I have a Halloween prop that will be triggered by a motion sensor. In order to add variety, I’d like to program a few different sequences, and have the Pololu play the next sequence in the lineup each time it is triggered.

Something like:

On motion sense, play sequence 1
On next motion sense, play sequence 2
On next motion sense, play sequence 3
On next motion sense, start over again at 1

Is this possible?

I think I read that selecting a random sequence is not possible, but that would be even better if it is.

Thanks!

5 posts - 2 participants

Read full topic


Viewing all articles
Browse latest Browse all 81

Trending Articles