User Manual

Code Analysis
pinMode(ledPin, OUTPUT);
Define LED as the output unit.
pinMode(buttonPin, INPUT);
Define button as the input unit.
17
Grove Beginner Kit For Arduino®