source: arduino-1-6-7/trunk/fuentes/arduino-ide-amd64/libraries/Adafruit_CircuitPlayground/examples/Hello_CircuitPlayground/Hello_SoundSensor/Hello_SoundSensor.ino @ 4837

Last change on this file since 4837 was 4837, checked in by daduve, 2 years ago

Adding new version

File size: 261 bytes
Line 
1#include <Adafruit_CircuitPlayground.h>
2
3int value;
4
5void setup() {
6  Serial.begin(9600);
7  CircuitPlayground.begin();
8}
9
10void loop() {
11  value = CircuitPlayground.soundSensor();
12 
13  Serial.print("Sound Sensor: ");
14  Serial.println(value);
15 
16  delay(1000);
17}
Note: See TracBrowser for help on using the repository browser.