A utility library for schoomy.
Please call begin of SchooMyUtilities in setup of Arduino.
SchooMyUtilities scmUtils = SchooMyUtilities();
void setup() {
scmUtils.soundSensorBegin();
}
Read the corrected analog for the sound sensor plotter.
void loop() {
Serial.print(scmUtils.soundSensorPlotterAnalogRead({pinNumber}));
}
Set the upper and lower limits to make the plotter display easier to read.
void loop() {
scmUtils.serialPlotterPrint(scmUtils.soundSensorPlotterAnalogRead({pinNumber}), 600, 0);
}
MIT