Traceback (most recent call last):
File "C:\Users\Miniontoby\Documents\python\controllers\microbit_bluetooth.py", line 17, in <module>
print(microbit.accelerometer.read())
File "C:\Users\Miniontoby\AppData\Local\Programs\Python\Python310\lib\site-packages\kaspersmicrobit\services\accelerometer.py", line 105, in read
return AccelerometerData.from_bytes(self._device.read(Characteristic.ACCELEROMETER_DATA))
File "C:\Users\Miniontoby\AppData\Local\Programs\Python\Python310\lib\site-packages\kaspersmicrobit\bluetoothdevice.py", line 78, in read
result = self.loop.run_async(self.client.read_gatt_char(characteristic.value)).result()
File "C:\Users\Miniontoby\AppData\Local\Programs\Python\Python310\lib\concurrent\futures\_base.py", line 446, in result
return self.__get_result()
File "C:\Users\Miniontoby\AppData\Local\Programs\Python\Python310\lib\concurrent\futures\_base.py", line 391, in __get_result
raise self._exception
File "C:\Users\Miniontoby\AppData\Local\Programs\Python\Python310\lib\site-packages\bleak\__init__.py", line 571, in read_gatt_char
return await self._backend.read_gatt_char(char_specifier, **kwargs)
File "C:\Users\Miniontoby\AppData\Local\Programs\Python\Python310\lib\site-packages\bleak\backends\winrt\client.py", line 720, in read_gatt_char
raise BleakError(f"Characteristic {char_specifier} was not found!")
bleak.exc.BleakError: Characteristic E95DCA4B-251D-470A-A062-FA1922DFA9A8 was not found!
Sorry, but I have to get dinner now, so more details will follow up, but for now this is all I have
UPDATE: It was the hex file missing the accelerometer service, but yeah it now just keeps on giving me the 020 error even with the fix thingy that I use...