Ingo Lohs
Published © GPL3+

Grove - Introduction in a Buzzer

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

BeginnerProtip1 hour1,223
Grove - Introduction in a Buzzer

Things used in this project

Hardware components

Arduino UNO & Genuino UNO
Arduino UNO & Genuino UNO
×1
Seeed Grove Base Shield
×1
Seeed 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

97 projects • 126 followers
I am well over 40 years and come from the middle of Germany.

Comments