MakerLab创客实验室 › 固件 Marlin固件里是如何产生脉冲控制步进电机加减速的?? By evesky at 3 年前 , 5255 次浏览 我一直没有找到固件里是如何产生脉冲控制步进电机的,看论坛里有说是中断产生的 我也没有找到,请大大告知 关于ATMEGA 2560刷写程 ... » « Marlin固件理解问题,求大神 ...
#9 - 3 年前 Andy @evesky stepper.cpp中的,这个函数里面: //省略n行// "The Stepper Driver Interrupt" - This timer interrupt is the workhorse.// It pops blocks from the block_buffer and executes them by pulsing the stepper pins appropriately.ISR(TIMER1_COMPA_vect){// ...}//省略n行