void motor_set_speed(uint8_t speed)\r
{\r
m_clk_divisor_ = 0xFF - speed;\r
+ CDC_Device_SendString(&VirtualSerial_CDC_Interface, "m_clk_divisor_ = %d\n",m_clk_divisor_);\r
}\r
\r
void motor_run(uint16_t steps, uint8_t direction)\r
case 't': led_toggle(); break;\r
case 'r': reset2bootloader(); break;\r
case 's': motor_stop(); break;\r
- case 'c': motor_run(300,0); break;\r
- case 'w': motor_run(300,1); break;\r
- case 'C': motor_run(1000,0); break;\r
- case 'W': motor_run(1000,1); break;\r
+ case 'c': motor_run(50,0); break;\r
+ case 'w': motor_run(50,1); break;\r
+ case 'C': motor_run(300,0); break;\r
+ case 'W': motor_run(300,1); break;\r
case '+': motor_set_speed(++cur_speed); break;\r
case '-': motor_set_speed(--cur_speed); break;\r
default: CDC_Device_SendString(&VirtualSerial_CDC_Interface, "error\n"); return;\r