utils.can
setup_can_default
def setup_can_default()
Sets up the default canio.CAN connection for your board type.
Uses baud_rate of 250K (default bus speed for the Amiga)
setup_can
def setup_can(rx, tx, baudrate=250_000, auto_restart=True)
Sets up the canio.CAN connection.
Essentially just wraps canio.CAN()
If your board has dedicated CAN pins (e.g., Feather M4 CAN and Feather STM32F405):
can = setup_can(rx=board.CAN_RX, tx=board.CAN_TX)