Add additional serial connection to EXP1 Header to connect ESP3D Wifi Module. #194
This commit is contained in:
@@ -54,7 +54,7 @@
|
|||||||
#define ANYCUBIC_FILAMENT_RUNOUT_SENSOR
|
#define ANYCUBIC_FILAMENT_RUNOUT_SENSOR
|
||||||
#define KNUTWURST_SPECIAL_MENU
|
#define KNUTWURST_SPECIAL_MENU
|
||||||
#define KNUTWURST_SPECIAL_MENU_WO_SD
|
#define KNUTWURST_SPECIAL_MENU_WO_SD
|
||||||
//#define ANYCUBIC_TFT_DEBUG
|
#define ANYCUBIC_TFT_DEBUG
|
||||||
//#define POWER_OUTAGE_TEST
|
//#define POWER_OUTAGE_TEST
|
||||||
|
|
||||||
#define EXT_LEVEL_HIGH 0.1
|
#define EXT_LEVEL_HIGH 0.1
|
||||||
@@ -176,7 +176,23 @@
|
|||||||
* Select a secondary serial port on the board to use for communication with the host.
|
* Select a secondary serial port on the board to use for communication with the host.
|
||||||
* :[-1, 0, 1, 2, 3, 4, 5, 6, 7]
|
* :[-1, 0, 1, 2, 3, 4, 5, 6, 7]
|
||||||
*/
|
*/
|
||||||
//#define SERIAL_PORT_2 -1
|
//#define SERIAL_PORT_2 2 // D16(RX) + D17(TX)
|
||||||
|
|
||||||
|
/* EXP1 Header
|
||||||
|
|
||||||
|
---------------
|
||||||
|
|| D37 D35 ||
|
||||||
|
|| ||
|
||||||
|
|| [D17] [D16] || <---- Connect your ESP82866 here (TX/RX)
|
||||||
|
/|| ||
|
||||||
|
||| D23 D25 ||
|
||||||
|
\|| ||
|
||||||
|
|| D27 D29 ||
|
||||||
|
|| ||
|
||||||
|
|| GND 5V ||
|
||||||
|
---------------
|
||||||
|
*/
|
||||||
|
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* This setting determines the communication speed of the printer.
|
* This setting determines the communication speed of the printer.
|
||||||
@@ -1232,7 +1248,7 @@
|
|||||||
* Specify a Probe position as { X, Y, Z }
|
* Specify a Probe position as { X, Y, Z }
|
||||||
*/
|
*/
|
||||||
#if ENABLED(KNUTWURST_BLTOUCH)
|
#if ENABLED(KNUTWURST_BLTOUCH)
|
||||||
#define NOZZLE_TO_PROBE_OFFSET { -2, -25, 0 } //https://www.thingiverse.com/thing:2824005
|
#define NOZZLE_TO_PROBE_OFFSET { -2, -25, -0.4 } //https://www.thingiverse.com/thing:2824005
|
||||||
//#define NOZZLE_TO_PROBE_OFFSET { 29, -15, 0 } //X-Carriage
|
//#define NOZZLE_TO_PROBE_OFFSET { 29, -15, 0 } //X-Carriage
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
|
@@ -260,7 +260,7 @@ void GCodeQueue::enqueue_now_P(PGM_P const pgcode) {
|
|||||||
*/
|
*/
|
||||||
void GCodeQueue::ok_to_send() {
|
void GCodeQueue::ok_to_send() {
|
||||||
#if NUM_SERIAL > 1
|
#if NUM_SERIAL > 1
|
||||||
const serial_index_t serial_ind = command_port();
|
const serial_index_t serial_ind = port[index_r];
|
||||||
if (serial_ind < 0) return; // Never mind. Command came from SD or Flash Drive
|
if (serial_ind < 0) return; // Never mind. Command came from SD or Flash Drive
|
||||||
PORT_REDIRECT(serial_ind); // Reply to the serial port that sent the command
|
PORT_REDIRECT(serial_ind); // Reply to the serial port that sent the command
|
||||||
#endif
|
#endif
|
||||||
|
Reference in New Issue
Block a user