Home Code Esplora buzzer example

Esplora buzzer example

by shedboy71

Another example for the Arduino Esplora, we will read the value from the slider and play a tone based on that from the buzzer. You can see the location of these parts in the picture of the Esplora underneath

This will probably be the shortest example you ever use on an Arduino




#include <Esplora.h>

void setup()

void loop()
// read the slider value
int slider = Esplora.readSlider();
// play the note corresponding to the slider's position:



Esplora Joystick + Sensor + LED Module Kit Board for Arduino – Deep Blue – $62.13


You may also like

This website uses cookies to improve your experience. We'll assume you're ok with this, but you can opt-out if you wish. Accept Read More