Play melody on a passive buzzer

Hey folks, really enjoying teaching my 10yo arduino using xod (coding was a little complex for him at this stage)

I’m trying to work out how to play a melody on a passive buzzer. I can use https://xod.io/libs/marcoaita/malibrary/buzzer-timed/ to play a frequency for a time period. But I’m stuck on how to play a series of notes… In arduino I would just setup an array and step through the array with a for loop.

How would I attack this in xod?

1 Like

An idea …:slightly_smiling_face:

2 Likes

excellent suggestion mate, I got it working, just gotta fiddle around with the logic

thanks heaps!!

I would reply it’s not yet possible in XOD… but wow… I’ll print your patch and put it on the wall :blush:

2 Likes