How to reset the sensor in Android
Hello,
I searched the Android tutorial and failed to find how to perform a reset. There is section discussing reset in the iOS tutorial (https://mbientlab.com/iosdocs/latest/metawearboard.html#reset).
Does anyone know how to reset in Android? I found the following code in the example code on github (https://github.com/mbientlab/MetaWear-SDK-Android/blob/master/examples.zip). Is this the right way to reset in Android?
findViewById(R.id.reset_board).setOnClickListener(v -> debug.resetAsync());
Thanks.
Comments
Take a look at the examples -> example.zip and metawear.zip
Also https://mbientlab.com/cppdocs/latest/mblmwmetawearboard.html#full-reset
So this 'debug.resetAsync()' is fine. It's the soft reset: mbl_mw_debug_reset()
thanks