mirror of
https://github.com/rene-dev/stmbl.git
synced 2024-12-24 17:42:10 +00:00
14 lines
352 B
Plaintext
14 lines
352 B
Plaintext
load enc_fb
|
|
enc_fb0.rt_prio = 2
|
|
enc_fb0.res = conf0.mot_fb_res
|
|
enc_fb0.sin = adc0.sin0l
|
|
enc_fb0.cos = adc0.cos0l
|
|
enc_fb0.quad = adc0.quad
|
|
fb_switch0.mot_pos = enc_fb0.pos
|
|
fb_switch0.mot_abs_pos = enc_fb0.abs_pos
|
|
fb_switch0.mot_polecount = 1
|
|
fb_switch0.mot_state = enc_fb0.state
|
|
fault0.mot_fb_error = enc_fb0.error
|
|
io0.fb0y = enc_fb0.error
|
|
io0.fb0g = 1
|