Wrong type when setting connection parameters
I was following the sensor fusion tutorial as written in the doc. But I can't run the code even copy paste.
def start(self):
libmetawear.mbl_mw_settings_set_connection_parameters(self.device, 7.5, 7.5, 0, 6000)
sleep(1.5)
File "MMRL_Orientation.py", line 31, in start
libmetawear.mbl_mw_settings_set_connection_parameters(self.device, 7.5, 7.5, 0, 6000)
ctypes.ArgumentError: argument 1: <type 'exceptions.TypeError'>: wrong type
Comments
resolved. It should be self.device.board
Thanks for the update @askker