update to V1.1
This commit is contained in:
@@ -23,7 +23,7 @@ Thanks to my wife and my daughter for their patience. :-)
|
||||
#include <Servo.h>
|
||||
#include "SerialCommand.h" //nice lib from Stefan Rado, https://github.com/kroimon/Arduino-SerialCommand
|
||||
|
||||
#define initSting "EBB 2.1.0+ Protocol emulated by Eggduino-Firmware V1.0"
|
||||
#define initSting "EBB 2.1.0+ Protocol emulated by Eggduino-Firmware V1.1"
|
||||
//Rotational Stepper
|
||||
#define step1 11
|
||||
#define dir1 10
|
||||
|
||||
@@ -93,8 +93,8 @@ void stepperMove(){
|
||||
//Move-Code:
|
||||
digitalWrite(enableRotMotor, LOW) ;
|
||||
digitalWrite(enablePenMotor, LOW) ;
|
||||
long rotSteps = ((float) (rotMicrostep/rotStepMode)) * rotStepsEBB; //transform to local coordiantes
|
||||
long penSteps = ((float) (penMicrostep/penStepMode)) * penStepsEBB; //transform to local coordiantes
|
||||
long rotSteps = round( ((float) (rotMicrostep/rotStepMode)) * rotStepsEBB ); //transform to local coordiantes
|
||||
long penSteps = round( ((float) (penMicrostep/penStepMode)) * penStepsEBB ); //transform to local coordiantes
|
||||
float rotSpeed = (float) ( ((long) rotSteps * (long)1000) / (long) duration ) ;
|
||||
float penSpeed = (float) ( ((long) penSteps * (long)1000) / (long) duration ) ;
|
||||
rotMotor.move(rotSteps);
|
||||
|
||||
5
VersionHistory.txt
Normal file
5
VersionHistory.txt
Normal file
@@ -0,0 +1,5 @@
|
||||
22.04.2014 V1.1
|
||||
bugfix Command SM - fixed rounding error in pen and rot-axis
|
||||
|
||||
17.04.2014 V1.0
|
||||
initial release
|
||||
Reference in New Issue
Block a user