From 446f1a6d4c8b562c3c56cbba9707574aa629d37c Mon Sep 17 00:00:00 2001 From: bdring Date: Tue, 8 Oct 2019 16:40:32 -0500 Subject: [PATCH 1/2] Added additional startup text about servo settings. --- Grbl_Esp32/servo_axis.cpp | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) diff --git a/Grbl_Esp32/servo_axis.cpp b/Grbl_Esp32/servo_axis.cpp index e04a7bb4..37591800 100644 --- a/Grbl_Esp32/servo_axis.cpp +++ b/Grbl_Esp32/servo_axis.cpp @@ -52,7 +52,7 @@ void init_servos() { //grbl_send(CLIENT_SERIAL, "[MSG: Init Servos]\r\n"); #ifdef SERVO_X_PIN - grbl_send(CLIENT_SERIAL, "[MSG:X Servo]\r\n"); + grbl_sendf(CLIENT_SERIAL, "[MSG:X Servo range %4.3f to %4.3f]\r\n", SERVO_X_RANGE_MIN, SERVO_X_RANGE_MAX); X_Servo_Axis.init(); X_Servo_Axis.set_range(SERVO_X_RANGE_MIN, SERVO_X_RANGE_MAX); X_Servo_Axis.set_homing_type(SERVO_HOMING_OFF); @@ -60,12 +60,12 @@ void init_servos() X_Servo_Axis.set_disable_with_steppers(false); #endif #ifdef SERVO_Y_PIN - grbl_send(CLIENT_SERIAL, "[MSG:Y Servo]\r\n"); + grbl_sendf(CLIENT_SERIAL, "[MSG:Y Servo range %4.3f to %4.3f]\r\n", SERVO_Y_RANGE_MIN, SERVO_Y_RANGE_MAX); Y_Servo_Axis.init(); Y_Servo_Axis.set_range(SERVO_Y_RANGE_MIN, SERVO_Y_RANGE_MAX); #endif #ifdef SERVO_Z_PIN - grbl_send(CLIENT_SERIAL, "[MSG:Z Servo]\r\n"); + grbl_sendf(CLIENT_SERIAL, "[MSG:Z Servo range %4.3f to %4.3f]\r\n", SERVO_Z_RANGE_MIN, SERVO_Z_RANGE_MAX); Z_Servo_Axis.init(); Z_Servo_Axis.set_range(SERVO_Z_RANGE_MIN, SERVO_Z_RANGE_MAX); #ifdef SERVO_Z_HOMING_TYPE @@ -80,7 +80,7 @@ void init_servos() #endif #ifdef SERVO_A_PIN - grbl_send(CLIENT_SERIAL, "[MSG:A Servo]\r\n"); + grbl_sendf(CLIENT_SERIAL, "[MSG:A Servo range %4.3f to %4.3f]\r\n", SERVO_A_RANGE_MIN, SERVO_A_RANGE_MAX); A_Servo_Axis.init(); A_Servo_Axis.set_range(SERVO_A_RANGE_MIN, SERVO_A_RANGE_MAX); A_Servo_Axis.set_homing_type(SERVO_HOMING_OFF); @@ -88,12 +88,12 @@ void init_servos() A_Servo_Axis.set_disable_with_steppers(false); #endif #ifdef SERVO_B_PIN - grbl_send(CLIENT_SERIAL, "[MSG:B Servo]\r\n"); + grbl_sendf(CLIENT_SERIAL, "[MSG:B Servo range %4.3f to %4.3f]\r\n", SERVO_B_RANGE_MIN, SERVO_B_RANGE_MAX); B_Servo_Axis.init(); B_Servo_Axis.set_range(SERVO_B_RANGE_MIN, SERVO_B_RANGE_MAX); #endif #ifdef SERVO_C_PIN - grbl_send(CLIENT_SERIAL, "[MSG:C Servo]\r\n"); + grbl_sendf(CLIENT_SERIAL, "[MSG:C Servo range %4.3f to %4.3f]\r\n", SERVO_C_RANGE_MIN, SERVO_C_RANGE_MAX); C_Servo_Axis.init(); C_Servo_Axis.set_range(SERVO_C_RANGE_MIN, SERVO_C_RANGE_MAX); //C_Servo_Axis.set_homing_type(SERVO_HOMING_TARGET); From f0e5a821052089420f7e2c36b559caf9d5d101cf Mon Sep 17 00:00:00 2001 From: bdring Date: Tue, 8 Oct 2019 16:41:22 -0500 Subject: [PATCH 2/2] Updated version build date --- Grbl_Esp32/grbl.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Grbl_Esp32/grbl.h b/Grbl_Esp32/grbl.h index 389db6f5..3c3e1115 100644 --- a/Grbl_Esp32/grbl.h +++ b/Grbl_Esp32/grbl.h @@ -20,7 +20,7 @@ // Grbl versioning system #define GRBL_VERSION "1.1f" -#define GRBL_VERSION_BUILD "20191004" +#define GRBL_VERSION_BUILD "20191008" //#include #include