As of September 2021, we have moved technical support to Robolink Help
Welcome to the Robolink Community forum!
You can post here to interact with others in the Robolink community. We're checking it weekly, and we'll respond to some messages. If you're looking for technical support, head over to Robolink Help.
My simple code for music making on the Smart Inventor Board.
-
Just thought Id share with you guys my simple and easy code for making music on the Smart Inventor!
I made this video to explain how it works:
Video (Watch me first before using!)#include <CoDrone.h> int Pitch = 0; int Length = 0; void setup() { } void loop() { if(analogRead(21) > 800) { Length = 0; } else { Length = analogRead(21)/100; } CoDrone.Buzz(analogRead(19)*3, Length); }
It's nothing special but I hope you enjoy
-
@loui2 This is sweet! Thanks for sharing!