#include "StepTicker.h"
-using namespace std;
-#include <vector>
-
#include "libs/nuts_bolts.h"
#include "libs/Module.h"
#include "libs/Kernel.h"
#include "StepperMotor.h"
-
+#include "StreamOutputPool.h"
#include "system_LPC17xx.h" // mbed.h lib
#include <math.h>
#include <mri.h>
LPC_TIM1->MR0 = this->delay;
}
-// Add a stepper motor object to our list of steppers we must take care of
-StepperMotor* StepTicker::add_stepper_motor(StepperMotor* stepper_motor){
- this->stepper_motors.push_back(stepper_motor);
- stepper_motor->step_ticker = this;
- return stepper_motor;
-}
-
// Call tick() on each active motor
inline void StepTicker::tick(){
_isr_context = true;