Logging & Filtering
I am trying to maximize my on-board data storage by filtering the GPIO data. I have tried to use both threshold and delta filters, but the device continues to log all data points, even when I set an impossible threshold value (nothing should pass through). Any suggestions?
microphone gpio (gpio)
cryingEvent = device.gpio?.pins.first?.analogAbsolute?.periodicRead(withPeriod: 10)
//configuration.cryingEvent.change(ofEventAcrossThreshold: 0.7, hysteresis: 0, output: .absolute)
configuration.cryingEvent.changeOfEvent(byDelta: 3.0, output: .absolute)
This discussion has been closed.