1
0
mirror of https://github.com/bdring/Grbl_Esp32.git synced 2025-09-01 10:23:19 +02:00

Fräse 2.6

This commit is contained in:
Jens Hauser
2020-12-22 00:30:08 +01:00
parent fac83a8bf7
commit 992c47235a

View File

@@ -20,11 +20,15 @@
//#define CUSTOM_CODE_FILENAME "Custom/4axis_xyxz.cpp"
/*
* Spindeltyp definieren, ich nutze ein Relais
* Spindeltyp definieren
* Das 1. Relais
*/
#define SPINDLE_TYPE SpindleType::RELAY
#define SPINDLE_OUTPUT_PIN GPIO_NUM_3
// Das 2. Relais
#define COOLANT_FLOOD_PIN GPIO_NUM_2
/*
* Zuordnung Schrittmotoren
* Analog zu den Pins des Boards. Am Besten in KICAD ablesen.
@@ -69,14 +73,11 @@
#define CONTROL_FEED_HOLD_PIN GPIO_NUM_36 // needs external pullup
#define CONTROL_CYCLE_START_PIN GPIO_NUM_39 // needs external pullup
#define COOLANT_FLOOD_PIN GPIO_NUM_2
/* Normally Grbl_ESP32 ignores tool changes.
* It just tracks the current tool number.
* If you put #define USE_TOOL_CHANGE in you header file,
* it will call a function void user_tool_change(uint8_t new_tool) when it sees the M6 gcode command.
*/
//#define USE_MACHINE_INIT
//#define USE_TOOL_CHANGE