Ringo Plays Jingle Bells

Share your awesome Ringo behaviors here!
ronaldroe
Posts: 2
Joined: Wed Aug 17, 2016 1:34 pm

Ringo Plays Jingle Bells

Postby ronaldroe » Sat Dec 24, 2016 1:27 am

Wrote the below linked. Ringo cycles his lights through red and green and plays jingle bells.

The constant MULT will change the duration of the note. Currently, notes are based on 1 second whole note, so a quarter note = 250ms and so on. Higher numbers play the song slower.

The constant VOLUME adjusts the volume of the speaker. I started it set at 50, but that was annoyingly loud. 25 was too quiet.

https://github.com/ronaldroe/ringo-jingle-bells

Return to “Ringo Code Share”

Who is online

Users browsing this forum: No registered users and 2 guests