|
@ -104,12 +104,27 @@ |
|
|
*/ |
|
|
*/ |
|
|
#define SERIAL_PORT 0 |
|
|
#define SERIAL_PORT 0 |
|
|
|
|
|
|
|
|
|
|
|
/**
|
|
|
|
|
|
* Serial Port Baud Rate |
|
|
|
|
|
* This is the default communication speed for all serial ports. |
|
|
|
|
|
* Set the baud rate defaults for additional serial ports below. |
|
|
|
|
|
* |
|
|
|
|
|
* 250000 works in most cases, but you might try a lower speed if |
|
|
|
|
|
* you commonly experience drop-outs during host printing. |
|
|
|
|
|
* You may try up to 1000000 to speed up SD file transfer. |
|
|
|
|
|
* |
|
|
|
|
|
* :[2400, 9600, 19200, 38400, 57600, 115200, 250000, 500000, 1000000] |
|
|
|
|
|
*/ |
|
|
|
|
|
#define BAUDRATE 250000 |
|
|
|
|
|
//#define BAUD_RATE_GCODE // Enable G-code M575 to set the baud rate
|
|
|
|
|
|
|
|
|
/**
|
|
|
/**
|
|
|
* 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. |
|
|
* Currently Ethernet (-2) is only supported on Teensy 4.1 boards. |
|
|
* Currently Ethernet (-2) is only supported on Teensy 4.1 boards. |
|
|
* :[-2, -1, 0, 1, 2, 3, 4, 5, 6, 7] |
|
|
* :[-2, -1, 0, 1, 2, 3, 4, 5, 6, 7] |
|
|
*/ |
|
|
*/ |
|
|
//#define SERIAL_PORT_2 -1
|
|
|
//#define SERIAL_PORT_2 -1
|
|
|
|
|
|
//#define BAUDRATE_2 250000 // Enable to override BAUDRATE
|
|
|
|
|
|
|
|
|
/**
|
|
|
/**
|
|
|
* Select a third serial port on the board to use for communication with the host. |
|
|
* Select a third serial port on the board to use for communication with the host. |
|
@ -117,17 +132,7 @@ |
|
|
* :[-1, 0, 1, 2, 3, 4, 5, 6, 7] |
|
|
* :[-1, 0, 1, 2, 3, 4, 5, 6, 7] |
|
|
*/ |
|
|
*/ |
|
|
//#define SERIAL_PORT_3 1
|
|
|
//#define SERIAL_PORT_3 1
|
|
|
|
|
|
//#define BAUDRATE_3 250000 // Enable to override BAUDRATE
|
|
|
/**
|
|
|
|
|
|
* This setting determines the communication speed of the printer. |
|
|
|
|
|
* |
|
|
|
|
|
* 250000 works in most cases, but you might try a lower speed if |
|
|
|
|
|
* you commonly experience drop-outs during host printing. |
|
|
|
|
|
* You may try up to 1000000 to speed up SD file transfer. |
|
|
|
|
|
* |
|
|
|
|
|
* :[2400, 9600, 19200, 38400, 57600, 115200, 250000, 500000, 1000000] |
|
|
|
|
|
*/ |
|
|
|
|
|
#define BAUDRATE 250000 |
|
|
|
|
|
|
|
|
|
|
|
// Enable the Bluetooth serial interface on AT90USB devices
|
|
|
// Enable the Bluetooth serial interface on AT90USB devices
|
|
|
//#define BLUETOOTH
|
|
|
//#define BLUETOOTH
|
|
|