Added attenuation adjustment (based on current angle advance), and some other minor fixes
max attenuation now at 1
Motor start up rutine now part of control loop
Now we use openocd, it works better, it reset after and before programming
Now with the usb transmit problem semi-solved
Motor stops and goes, interactive input to set ref_freq some general adjustments
Motor stops and goes from 0 to any speed and from any speed to 0 from keyboard commands
Motor stops and goes from 0 to any speed and from any speed to 0 from keyboard commands
Code a bit organized. .h files for different motors.