Safety and serial sections
This commit is contained in:
parent
fc56a547d1
commit
eab44b30d4
|
@ -417,9 +417,10 @@
|
|||
//#define USE_SMALL_INFOFONT
|
||||
#endif // DOGLCD
|
||||
|
||||
// @section more
|
||||
// @section safety
|
||||
|
||||
// The hardware watchdog should reset the microcontroller disabling all outputs, in case the firmware gets stuck and doesn't do temperature regulation.
|
||||
// The hardware watchdog should reset the microcontroller disabling all outputs,
|
||||
// in case the firmware gets stuck and doesn't do temperature regulation.
|
||||
#define USE_WATCHDOG
|
||||
|
||||
#if ENABLED(USE_WATCHDOG)
|
||||
|
@ -510,9 +511,9 @@ const unsigned int dropsegments = 5; //everything with less than this number of
|
|||
#define BLOCK_BUFFER_SIZE 16 // maximize block buffer
|
||||
#endif
|
||||
|
||||
// @section more
|
||||
// @section serial
|
||||
|
||||
//The ASCII buffer for receiving from the serial:
|
||||
// The ASCII buffer for serial input
|
||||
#define MAX_CMD_SIZE 96
|
||||
#define BUFSIZE 4
|
||||
|
||||
|
|
|
@ -417,9 +417,10 @@
|
|||
//#define USE_SMALL_INFOFONT
|
||||
#endif // DOGLCD
|
||||
|
||||
// @section more
|
||||
// @section safety
|
||||
|
||||
// The hardware watchdog should reset the microcontroller disabling all outputs, in case the firmware gets stuck and doesn't do temperature regulation.
|
||||
// The hardware watchdog should reset the microcontroller disabling all outputs,
|
||||
// in case the firmware gets stuck and doesn't do temperature regulation.
|
||||
#define USE_WATCHDOG
|
||||
|
||||
#if ENABLED(USE_WATCHDOG)
|
||||
|
@ -510,9 +511,9 @@ const unsigned int dropsegments = 5; //everything with less than this number of
|
|||
#define BLOCK_BUFFER_SIZE 16 // maximize block buffer
|
||||
#endif
|
||||
|
||||
// @section more
|
||||
// @section serial
|
||||
|
||||
//The ASCII buffer for receiving from the serial:
|
||||
// The ASCII buffer for serial input
|
||||
#define MAX_CMD_SIZE 96
|
||||
#define BUFSIZE 4
|
||||
|
||||
|
|
|
@ -417,9 +417,10 @@
|
|||
//#define USE_SMALL_INFOFONT
|
||||
#endif // DOGLCD
|
||||
|
||||
// @section more
|
||||
// @section safety
|
||||
|
||||
// The hardware watchdog should reset the microcontroller disabling all outputs, in case the firmware gets stuck and doesn't do temperature regulation.
|
||||
// The hardware watchdog should reset the microcontroller disabling all outputs,
|
||||
// in case the firmware gets stuck and doesn't do temperature regulation.
|
||||
#define USE_WATCHDOG
|
||||
|
||||
#if ENABLED(USE_WATCHDOG)
|
||||
|
@ -510,9 +511,9 @@ const unsigned int dropsegments = 5; //everything with less than this number of
|
|||
#define BLOCK_BUFFER_SIZE 16 // maximize block buffer
|
||||
#endif
|
||||
|
||||
// @section more
|
||||
// @section serial
|
||||
|
||||
//The ASCII buffer for receiving from the serial:
|
||||
// The ASCII buffer for serial input
|
||||
#define MAX_CMD_SIZE 96
|
||||
#define BUFSIZE 4
|
||||
|
||||
|
|
|
@ -417,9 +417,10 @@
|
|||
//#define USE_SMALL_INFOFONT
|
||||
#endif // DOGLCD
|
||||
|
||||
// @section more
|
||||
// @section safety
|
||||
|
||||
// The hardware watchdog should reset the microcontroller disabling all outputs, in case the firmware gets stuck and doesn't do temperature regulation.
|
||||
// The hardware watchdog should reset the microcontroller disabling all outputs,
|
||||
// in case the firmware gets stuck and doesn't do temperature regulation.
|
||||
#define USE_WATCHDOG
|
||||
|
||||
#if ENABLED(USE_WATCHDOG)
|
||||
|
@ -510,9 +511,9 @@ const unsigned int dropsegments = 5; //everything with less than this number of
|
|||
#define BLOCK_BUFFER_SIZE 16 // maximize block buffer
|
||||
#endif
|
||||
|
||||
// @section more
|
||||
// @section serial
|
||||
|
||||
//The ASCII buffer for receiving from the serial:
|
||||
// The ASCII buffer for serial input
|
||||
#define MAX_CMD_SIZE 96
|
||||
#define BUFSIZE 4
|
||||
|
||||
|
|
|
@ -417,9 +417,10 @@
|
|||
#define USE_SMALL_INFOFONT
|
||||
#endif // DOGLCD
|
||||
|
||||
// @section more
|
||||
// @section safety
|
||||
|
||||
// The hardware watchdog should reset the microcontroller disabling all outputs, in case the firmware gets stuck and doesn't do temperature regulation.
|
||||
// The hardware watchdog should reset the microcontroller disabling all outputs,
|
||||
// in case the firmware gets stuck and doesn't do temperature regulation.
|
||||
#define USE_WATCHDOG
|
||||
|
||||
#if ENABLED(USE_WATCHDOG)
|
||||
|
@ -510,9 +511,9 @@ const unsigned int dropsegments = 5; //everything with less than this number of
|
|||
#define BLOCK_BUFFER_SIZE 16 // maximize block buffer
|
||||
#endif
|
||||
|
||||
// @section more
|
||||
// @section serial
|
||||
|
||||
//The ASCII buffer for receiving from the serial:
|
||||
// The ASCII buffer for serial input
|
||||
#define MAX_CMD_SIZE 96
|
||||
#define BUFSIZE 4
|
||||
|
||||
|
|
|
@ -423,9 +423,10 @@
|
|||
//#define USE_SMALL_INFOFONT
|
||||
#endif // DOGLCD
|
||||
|
||||
// @section more
|
||||
// @section safety
|
||||
|
||||
// The hardware watchdog should reset the microcontroller disabling all outputs, in case the firmware gets stuck and doesn't do temperature regulation.
|
||||
// The hardware watchdog should reset the microcontroller disabling all outputs,
|
||||
// in case the firmware gets stuck and doesn't do temperature regulation.
|
||||
#define USE_WATCHDOG
|
||||
|
||||
#if ENABLED(USE_WATCHDOG)
|
||||
|
@ -516,9 +517,9 @@ const unsigned int dropsegments = 2; //everything with less than this number of
|
|||
#define BLOCK_BUFFER_SIZE 32 // maximize block buffer
|
||||
#endif
|
||||
|
||||
// @section more
|
||||
// @section serial
|
||||
|
||||
//The ASCII buffer for receiving from the serial:
|
||||
// The ASCII buffer for serial input
|
||||
#define MAX_CMD_SIZE 96
|
||||
#define BUFSIZE 4
|
||||
|
||||
|
|
|
@ -417,9 +417,10 @@
|
|||
//#define USE_SMALL_INFOFONT
|
||||
#endif // DOGLCD
|
||||
|
||||
// @section more
|
||||
// @section safety
|
||||
|
||||
// The hardware watchdog should reset the microcontroller disabling all outputs, in case the firmware gets stuck and doesn't do temperature regulation.
|
||||
// The hardware watchdog should reset the microcontroller disabling all outputs,
|
||||
// in case the firmware gets stuck and doesn't do temperature regulation.
|
||||
#define USE_WATCHDOG
|
||||
|
||||
#if ENABLED(USE_WATCHDOG)
|
||||
|
@ -510,9 +511,9 @@ const unsigned int dropsegments = 5; //everything with less than this number of
|
|||
#define BLOCK_BUFFER_SIZE 16 // maximize block buffer
|
||||
#endif
|
||||
|
||||
// @section more
|
||||
// @section serial
|
||||
|
||||
//The ASCII buffer for receiving from the serial:
|
||||
// The ASCII buffer for serial input
|
||||
#define MAX_CMD_SIZE 96
|
||||
#define BUFSIZE 8
|
||||
|
||||
|
|
|
@ -417,9 +417,10 @@
|
|||
//#define USE_SMALL_INFOFONT
|
||||
#endif // DOGLCD
|
||||
|
||||
// @section more
|
||||
// @section safety
|
||||
|
||||
// The hardware watchdog should reset the microcontroller disabling all outputs, in case the firmware gets stuck and doesn't do temperature regulation.
|
||||
// The hardware watchdog should reset the microcontroller disabling all outputs,
|
||||
// in case the firmware gets stuck and doesn't do temperature regulation.
|
||||
#define USE_WATCHDOG
|
||||
|
||||
#if ENABLED(USE_WATCHDOG)
|
||||
|
@ -510,9 +511,9 @@ const unsigned int dropsegments = 5; //everything with less than this number of
|
|||
#define BLOCK_BUFFER_SIZE 16 // maximize block buffer
|
||||
#endif
|
||||
|
||||
// @section more
|
||||
// @section serial
|
||||
|
||||
//The ASCII buffer for receiving from the serial:
|
||||
// The ASCII buffer for serial input
|
||||
#define MAX_CMD_SIZE 96
|
||||
#define BUFSIZE 4
|
||||
|
||||
|
|
|
@ -425,9 +425,10 @@
|
|||
//#define USE_SMALL_INFOFONT
|
||||
#endif // DOGLCD
|
||||
|
||||
// @section more
|
||||
// @section safety
|
||||
|
||||
// The hardware watchdog should reset the microcontroller disabling all outputs, in case the firmware gets stuck and doesn't do temperature regulation.
|
||||
// The hardware watchdog should reset the microcontroller disabling all outputs,
|
||||
// in case the firmware gets stuck and doesn't do temperature regulation.
|
||||
#define USE_WATCHDOG
|
||||
|
||||
#if ENABLED(USE_WATCHDOG)
|
||||
|
@ -518,9 +519,9 @@ const unsigned int dropsegments = 5; //everything with less than this number of
|
|||
#define BLOCK_BUFFER_SIZE 16 // maximize block buffer
|
||||
#endif
|
||||
|
||||
// @section more
|
||||
// @section serial
|
||||
|
||||
//The ASCII buffer for receiving from the serial:
|
||||
// The ASCII buffer for serial input
|
||||
#define MAX_CMD_SIZE 96
|
||||
#define BUFSIZE 4
|
||||
|
||||
|
|
|
@ -417,9 +417,10 @@
|
|||
//#define USE_SMALL_INFOFONT
|
||||
#endif // DOGLCD
|
||||
|
||||
// @section more
|
||||
// @section safety
|
||||
|
||||
// The hardware watchdog should reset the microcontroller disabling all outputs, in case the firmware gets stuck and doesn't do temperature regulation.
|
||||
// The hardware watchdog should reset the microcontroller disabling all outputs,
|
||||
// in case the firmware gets stuck and doesn't do temperature regulation.
|
||||
#define USE_WATCHDOG
|
||||
|
||||
#if ENABLED(USE_WATCHDOG)
|
||||
|
@ -510,9 +511,9 @@ const unsigned int dropsegments = 5; //everything with less than this number of
|
|||
#define BLOCK_BUFFER_SIZE 16 // maximize block buffer
|
||||
#endif
|
||||
|
||||
// @section more
|
||||
// @section serial
|
||||
|
||||
//The ASCII buffer for receiving from the serial:
|
||||
// The ASCII buffer for serial input
|
||||
#define MAX_CMD_SIZE 96
|
||||
#define BUFSIZE 4
|
||||
|
||||
|
|
|
@ -419,9 +419,10 @@
|
|||
//#define USE_SMALL_INFOFONT
|
||||
#endif // DOGLCD
|
||||
|
||||
// @section more
|
||||
// @section safety
|
||||
|
||||
// The hardware watchdog should reset the microcontroller disabling all outputs, in case the firmware gets stuck and doesn't do temperature regulation.
|
||||
// The hardware watchdog should reset the microcontroller disabling all outputs,
|
||||
// in case the firmware gets stuck and doesn't do temperature regulation.
|
||||
#define USE_WATCHDOG
|
||||
|
||||
#if ENABLED(USE_WATCHDOG)
|
||||
|
@ -512,9 +513,9 @@ const unsigned int dropsegments = 5; //everything with less than this number of
|
|||
#define BLOCK_BUFFER_SIZE 16 // maximize block buffer
|
||||
#endif
|
||||
|
||||
// @section more
|
||||
// @section serial
|
||||
|
||||
//The ASCII buffer for receiving from the serial:
|
||||
// The ASCII buffer for serial input
|
||||
#define MAX_CMD_SIZE 96
|
||||
#define BUFSIZE 4
|
||||
|
||||
|
|
|
@ -419,9 +419,10 @@
|
|||
//#define USE_SMALL_INFOFONT
|
||||
#endif // DOGLCD
|
||||
|
||||
// @section more
|
||||
// @section safety
|
||||
|
||||
// The hardware watchdog should reset the microcontroller disabling all outputs, in case the firmware gets stuck and doesn't do temperature regulation.
|
||||
// The hardware watchdog should reset the microcontroller disabling all outputs,
|
||||
// in case the firmware gets stuck and doesn't do temperature regulation.
|
||||
#define USE_WATCHDOG
|
||||
|
||||
#if ENABLED(USE_WATCHDOG)
|
||||
|
@ -512,9 +513,9 @@ const unsigned int dropsegments = 5; //everything with less than this number of
|
|||
#define BLOCK_BUFFER_SIZE 16 // maximize block buffer
|
||||
#endif
|
||||
|
||||
// @section more
|
||||
// @section serial
|
||||
|
||||
//The ASCII buffer for receiving from the serial:
|
||||
// The ASCII buffer for serial input
|
||||
#define MAX_CMD_SIZE 96
|
||||
#define BUFSIZE 4
|
||||
|
||||
|
|
|
@ -418,9 +418,10 @@
|
|||
//#define USE_SMALL_INFOFONT
|
||||
#endif // DOGLCD
|
||||
|
||||
// @section more
|
||||
// @section safety
|
||||
|
||||
// The hardware watchdog should reset the microcontroller disabling all outputs, in case the firmware gets stuck and doesn't do temperature regulation.
|
||||
// The hardware watchdog should reset the microcontroller disabling all outputs,
|
||||
// in case the firmware gets stuck and doesn't do temperature regulation.
|
||||
#define USE_WATCHDOG
|
||||
|
||||
#if ENABLED(USE_WATCHDOG)
|
||||
|
@ -511,9 +512,9 @@ const unsigned int dropsegments = 5; //everything with less than this number of
|
|||
#define BLOCK_BUFFER_SIZE 16 // maximize block buffer
|
||||
#endif
|
||||
|
||||
// @section more
|
||||
// @section serial
|
||||
|
||||
//The ASCII buffer for receiving from the serial:
|
||||
// The ASCII buffer for serial input
|
||||
#define MAX_CMD_SIZE 96
|
||||
#define BUFSIZE 4
|
||||
|
||||
|
|
|
@ -423,9 +423,10 @@
|
|||
//#define USE_SMALL_INFOFONT
|
||||
#endif // DOGLCD
|
||||
|
||||
// @section more
|
||||
// @section safety
|
||||
|
||||
// The hardware watchdog should reset the microcontroller disabling all outputs, in case the firmware gets stuck and doesn't do temperature regulation.
|
||||
// The hardware watchdog should reset the microcontroller disabling all outputs,
|
||||
// in case the firmware gets stuck and doesn't do temperature regulation.
|
||||
#define USE_WATCHDOG
|
||||
|
||||
#if ENABLED(USE_WATCHDOG)
|
||||
|
@ -516,9 +517,9 @@ const unsigned int dropsegments = 5; //everything with less than this number of
|
|||
#define BLOCK_BUFFER_SIZE 16 // maximize block buffer
|
||||
#endif
|
||||
|
||||
// @section more
|
||||
// @section serial
|
||||
|
||||
//The ASCII buffer for receiving from the serial:
|
||||
// The ASCII buffer for serial input
|
||||
#define MAX_CMD_SIZE 96
|
||||
#define BUFSIZE 4
|
||||
|
||||
|
|
|
@ -419,9 +419,10 @@
|
|||
//#define USE_SMALL_INFOFONT
|
||||
#endif // DOGLCD
|
||||
|
||||
// @section more
|
||||
// @section safety
|
||||
|
||||
// The hardware watchdog should reset the microcontroller disabling all outputs, in case the firmware gets stuck and doesn't do temperature regulation.
|
||||
// The hardware watchdog should reset the microcontroller disabling all outputs,
|
||||
// in case the firmware gets stuck and doesn't do temperature regulation.
|
||||
#define USE_WATCHDOG
|
||||
|
||||
#if ENABLED(USE_WATCHDOG)
|
||||
|
@ -512,9 +513,9 @@ const unsigned int dropsegments = 5; //everything with less than this number of
|
|||
#define BLOCK_BUFFER_SIZE 16 // maximize block buffer
|
||||
#endif
|
||||
|
||||
// @section more
|
||||
// @section serial
|
||||
|
||||
//The ASCII buffer for receiving from the serial:
|
||||
// The ASCII buffer for serial input
|
||||
#define MAX_CMD_SIZE 96
|
||||
#define BUFSIZE 4
|
||||
|
||||
|
|
|
@ -417,9 +417,10 @@
|
|||
//#define USE_SMALL_INFOFONT
|
||||
#endif // DOGLCD
|
||||
|
||||
// @section more
|
||||
// @section safety
|
||||
|
||||
// The hardware watchdog should reset the microcontroller disabling all outputs, in case the firmware gets stuck and doesn't do temperature regulation.
|
||||
// The hardware watchdog should reset the microcontroller disabling all outputs,
|
||||
// in case the firmware gets stuck and doesn't do temperature regulation.
|
||||
#define USE_WATCHDOG
|
||||
|
||||
#if ENABLED(USE_WATCHDOG)
|
||||
|
@ -510,9 +511,9 @@ const unsigned int dropsegments = 5; //everything with less than this number of
|
|||
#define BLOCK_BUFFER_SIZE 16 // maximize block buffer
|
||||
#endif
|
||||
|
||||
// @section more
|
||||
// @section serial
|
||||
|
||||
//The ASCII buffer for receiving from the serial:
|
||||
// The ASCII buffer for serial input
|
||||
#define MAX_CMD_SIZE 96
|
||||
#define BUFSIZE 4
|
||||
|
||||
|
|
|
@ -417,9 +417,10 @@
|
|||
//#define USE_SMALL_INFOFONT
|
||||
#endif // DOGLCD
|
||||
|
||||
// @section more
|
||||
// @section safety
|
||||
|
||||
// The hardware watchdog should reset the microcontroller disabling all outputs, in case the firmware gets stuck and doesn't do temperature regulation.
|
||||
// The hardware watchdog should reset the microcontroller disabling all outputs,
|
||||
// in case the firmware gets stuck and doesn't do temperature regulation.
|
||||
#define USE_WATCHDOG
|
||||
|
||||
#if ENABLED(USE_WATCHDOG)
|
||||
|
@ -510,9 +511,9 @@ const unsigned int dropsegments = 5; //everything with less than this number of
|
|||
#define BLOCK_BUFFER_SIZE 16 // maximize block buffer
|
||||
#endif
|
||||
|
||||
// @section more
|
||||
// @section serial
|
||||
|
||||
//The ASCII buffer for receiving from the serial:
|
||||
// The ASCII buffer for serial input
|
||||
#define MAX_CMD_SIZE 96
|
||||
#define BUFSIZE 4
|
||||
|
||||
|
|
Loading…
Reference in a new issue