initial commit
This commit is contained in:
+17
@@ -0,0 +1,17 @@
|
||||
#include <Adafruit_CircuitPlayground.h>
|
||||
|
||||
int value;
|
||||
|
||||
void setup() {
|
||||
Serial.begin(9600);
|
||||
CircuitPlayground.begin();
|
||||
}
|
||||
|
||||
void loop() {
|
||||
value = CircuitPlayground.soundSensor();
|
||||
|
||||
Serial.print("Sound Sensor: ");
|
||||
Serial.println(value);
|
||||
|
||||
delay(1000);
|
||||
}
|
||||
Reference in New Issue
Block a user