•
Copy and paste code below to a new Arduino sketch.
int val;
void setup()
{
Serial.begin(9600);
}
void loop()
{
analogRead(0);
delay(10);
val = analogRead(0);
Serial.println(val);
delay(200);
}
•
Upload the code.
•
Then open the serial monitor to observe the output results. There will be a significant
change when blow to the sensor.
Need help?
Do you have a question about the Grove and is the answer not in the manual?