CAN Unit
The following products are supported:
Micropython Example:
import M5
from M5 import *
from unit import CANUnit
can = CANUnit((15, 13), CANUnit.NORMAL, 125000)
UIFLOW2 Example:
class CANUnit
Constructors
- class CANUnit(port, mode, baudrate=125000)
Create an CANUnit object.
parameter is:
portis the pins number of the portmodeis one of: NORMAL, NO_ACKNOWLEDGE, LISTEN_ONLYbaudrateis the baudrate of CANUnit.
UIFLOW2:
CANUnit class inherits CAN class, See hardware.CAN for more details.

