This was definitely the hardest homework so far. I spent a majority of the time trying to piece together different components which in the end weren't working for me simultaneously. Specifically, the photosensor gave me a lot of problems. On its own I got it to work but when I tried combining the code together for other components the photosensor no longer worked and I felt like I just did not know how to fix the issue or where the issue was. In the end, I settled with a button to begin the music and a dial to adjust the length of beats of the music. The song is set to the notes of the song "Do Re Mi", I figured it was an easily recognizable song. Although the instructions for the assignment were to have control over the notes being produced, I, unfortunately, couldn't get that part of the assignment to work.
https://makecode.microbit.org/_9dJiXVK5DUxt
Comentários