Wrong type when setting connection parameters

edited May 3 in Python

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

Sign In or Register to comment.