13 lines
250 B
Python
13 lines
250 B
Python
# can_run_demo.py
|
|
|
|
from can_main import can_motor_contral
|
|
|
|
if __name__ == "__main__":
|
|
can_motor_contral(
|
|
direction=1,
|
|
angle=90,
|
|
microstep=32,
|
|
can_id=0x03,
|
|
channel='vcan0',
|
|
listen_feedback=True
|
|
) |