我使用imu的时候,通信串口和imu同时使用i2c 2的口子,也就是P4,P5口子,然后直接报错了
我在这里打印了一下register
def write_registers(self, register, data):
print(register)
self.i2c.writeto_mem(self.address, register, data)打印出来的结果是
63
65
61
63经过我的初步检查就是主函数的
self.system_trigger(0x80)就报错了,这是怎么回事
Traceback (most recent call last):
File "<stdin>", line 31, in <module>
File "bno055.py", line 91, in gyroscope
File "bno055.py", line 49, in read_registers
OSError: [Errno 19] ENODEV
MicroPython v1.9.4-4580-g7747c5b36 on 2019-09-27; OPENMV4 with STM32H743
Type "help()" for more information.https://singtown.com/learn/50537/
按照视频操作。