mit Buttons/PWM als einzelne cpp und init in main

Dependencies:   mbed mbed-rtos X_NUCLEO_IHM02A1

STEPPER_INIT.cpp

Committer:
scherfa2
Date:
2019-04-24
Revision:
34:0dee9a606869
Parent:
33:de144094bdd1

File content as of revision 34:0dee9a606869:

#include "SETUP.h"
#include "STEPPER_INIT.h"

/* Variables -----------------------------------------------------------------*/

extern L6470B **motors2;
extern L6470 **motors;

void SpleisserMotorFWD()
{
   printf("Warten\r\n");
   motors[1]->run(StepperMotor::FWD,100);;
  
}