Skip to content
Snippets Groups Projects

Add EPIC-API call disable_all_sensors to sys_bhi160 upy-module

All threads resolved!
Files
3
@@ -4,6 +4,14 @@ import ucollections
DataVector = ucollections.namedtuple("DataVector", ["x", "y", "z", "status"])
def disable_all_sensors():
'''
Disable all sensor also if they are already deactivated.
Returns:
None
'''
sys_bhi160.disable_all_sensors()
class BHI160:
def enable_sensor(self):
Loading