Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- loadrt hostmot2
- #loadrt hm2_pci config="sserial_port_0=00000000"
- loadrt hm2_eth board_ip="192.168.1.121" board_mac="00:60:1b:10:00:08"
- loadrt threads name1=thread1 period1=1000000
- loadrt bldc cfg=h
- addf hm2_7i80.0.read thread1
- addf bldc.0 thread1
- addf hm2_7i80.0.write thread1
- addf hm2_7i80.0.pet_watchdog thread1
- net h1 hm2_7i80.0.7i76.0.0.input-00 bldc.0.hall1
- net h2 hm2_7i80.0.7i76.0.0.input-01 bldc.0.hall2
- net h3 hm2_7i80.0.7i76.0.0.input-02 bldc.0.hall3
- net ang bldc.0.rotor-angle hm2_7i80.0.8i20.0.1.angle
- setp bldc.0.pattern 34
- start
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement