Code: Select all
>>> can.init(CAN.NORMAL, baudrate=500_000, extframe=True, num_filter_banks=28)
Traceback (most recent call last):
File "<stdin>", line 1, in <module>
TypeError: extra keyword arguments given
>>>
https://docs.micropython.org/en/latest/ ... b.CAN.html
Line 82 of https://github.com/micropython/micropyt ... tm32/can.h does not seem to have this parameter:
Code: Select all
bool can_init(pyb_can_obj_t *can_obj, uint32_t mode, uint32_t prescaler, uint32_t sjw, uint32_t bs1, uint32_t bs2, bool auto_restart);