Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
1 changed file
with
11 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,11 @@ | ||
void setup() { | ||
Serial.begin(256000); | ||
} | ||
|
||
void loop() { | ||
// If using an electret microphone unit, then it needs adjusting | ||
// Select the Tools/Serial Plotter and use the display as an oscilloscope | ||
// Don't forget to select the correct speed! 256000 | ||
// Connect audio to A0 or VP or VN | ||
Serial.println(analogRead(A0)); | ||
} |