A music selector built by M5Stack
This is a music gacha machine to help users select music. Everytime it rotates, it will drop a ball off and trigger the computer to play music. I used a light sensor as an input and coded 4 different states to enable the machine.