diff --git a/inc/config.h b/inc/config.h --- a/inc/config.h +++ b/inc/config.h @@ -2,6 +2,52 @@ #define CONFIG_H +////////////////////////////////////////////////////// +// Sensor Type +////////////////////////////////////////////////////// +//#define MAX31855_TC_SENSOR +//#define MAX31865_RTD_SENSOR +#define MAX_WHATEVERTHENEWONEIS + + +////////////////////////////////////////////////////// +// USB +////////////////////////////////////////////////////// + +// Virtual serial port transmit rate +#define VCP_TX_FREQ 1000 + +// Solid-state relay maximum on-time +#define SSR_PERIOD 200 + +// Interval of PID calculations +#define PID_PERIOD 120 + + +////////////////////////////////////////////////////// +// Other settings +////////////////////////////////////////////////////// + +// Add bootloader option to top of idle screen menu +#define BOOTLOADER_SHORTCUT + + +////////////////////////////////////////////////////// +// Default Settings +////////////////////////////////////////////////////// + +#define DEFAULT_BOOT_TO_BREW 0 +#define DEFAULT_TEMP_UNITS TEMP_UNITS_FAHRENHEIT +#define DEFAULT_WINDUP_GUARD 10 +#define DEFAULT_K_P 10 +#define DEFAULT_K_I 1 +#define DEFAULT_K_D 1 +#define DEFAULT_TEMP_OFFSET 0 +#define DEFAULT_IGNORE_ERROR 0 +#define DEFAULT_SETPOINT_BREW 70 +#define DEFAULT_SETPOINT_STEAM 70 +#define DEFAULT_HYSTERESIS 1 + ////////////////////////////////////////////////////// // Watchdog Settings @@ -10,7 +56,6 @@ - // Internal macros #define hal_init HAL_Init #define MAKE32(by3,by2,by1,by0) ((uint32_t)((((((by3<<8)+by2)<<8)+by1)<<8)+by0))