Ingo Lohs
Published © GPL3+

Grove - Introduction in a Buzzer

My first steps with the Grove 'plug & play' components. This is primarily a Buzzer.

BeginnerProtip1 hour3,919
Grove - Introduction in a Buzzer

Things used in this project

Hardware components

Arduino UNO
Arduino UNO
×1
Seeed Studio Grove Base Shield
×1
Seeed Studio Grove Buzzer
×1

Software apps and online services

Arduino Web Editor
Arduino Web Editor

Story

Read more

Code

Buzzer Example

C/C++
Original code by Seeedstudio
// Noise maker
//

void setup()
{
  pinMode(6, OUTPUT);
}

void loop()
{
  digitalWrite(6, HIGH);
  delay(analogRead(0));
  digitalWrite(6, LOW);
  delay(analogRead(0));
}

Credits

Ingo Lohs

Ingo Lohs

182 projects • 194 followers
I am well over 50 years and come from the middle of Germany.

Comments