Download Print this page

Seeed Grove Beginner Kit User Manual page 12

For arduino
Hide thumbs Also See for Grove Beginner Kit:

Advertisement

Grove Beginner Kit For Arduino®
Hardware connection
Module connection
Default connection by PCB stamp hole.
Connect the Seeeduino to the computer through the USB cable.
Software Code
Open Arduino IDE.
Copy the following code, click Verify to check for syntax errors. Verify that there are no
errors, and you can upload the code.
//LED Blink
//The LED will turn on for one second and then turn off for one second
int
ledPin = 4;
void
setup() {
pinMode(ledPin, OUTPUT);
}
void
loop() {
digitalWrite(ledPin, HIGH);
delay(1000);
digitalWrite(ledPin, LOW);
delay(1000);
}
11

Advertisement

loading
Need help?

Need help?

Do you have a question about the Grove Beginner Kit and is the answer not in the manual?

Subscribe to Our Youtube Channel