المدة الزمنية 1:14

Star Wars Imperial March with passive buzzer and Arduino Due

بواسطة Duncanti2011
145 مشاهدة
0
2
تم نشره في 2020/05/28

I couldn't find a suitable replacement for tone() for the Arduino Due until I stumbled on "NewToneLib.h". I'll find the link and put it here. The example it comes with worked great with no adjustment. I looked for Star Wars melody for Arduino and found several examples for using tone(). Unfortunately, I couldn't figure out how to just swap everything together so I remapped the notes for the new t.tone() function and added some delays. It's definitely still rudimentary, I'm not very good with music in the first place. Source code is in the comments. Library for the t.tone() function for Due - https://github.com/YordanYordanovGIT/NewToneLib Source code - https://github.com/Duncanti2011/Star-Wars-Imperial-March-Arduino-Due

الفئة

عرض المزيد

تعليقات - 2