Files
@ 6d43230d5986
Branch filter:
Location: therm/config.h - annotation
6d43230d5986
1.1 KiB
text/plain
Untested changes for RTDs
ab7abb62e433 ab7abb62e433 ab7abb62e433 512edacc3586 a8dc1992dd1a a8dc1992dd1a 512edacc3586 512edacc3586 512edacc3586 b5b1fc08b294 512edacc3586 512edacc3586 ab7abb62e433 512edacc3586 512edacc3586 b2929a2c0975 ab7abb62e433 512edacc3586 512edacc3586 512edacc3586 ab7abb62e433 ab7abb62e433 ab7abb62e433 ab7abb62e433 ab7abb62e433 ab7abb62e433 ab7abb62e433 ab7abb62e433 ab7abb62e433 ab7abb62e433 ab7abb62e433 49485c1fefae 49485c1fefae 49485c1fefae 618031ff9252 618031ff9252 618031ff9252 8e1189ce73af 8e1189ce73af 8e1189ce73af 8e1189ce73af 8e1189ce73af 8e1189ce73af 8e1189ce73af 45ee045c249f 8e1189ce73af 8e1189ce73af 8e1189ce73af 8e1189ce73af 8e1189ce73af ab7abb62e433 ab7abb62e433 ab7abb62e433 | #ifndef CONFIG_H
#define CONFIG_H
// Temperature sensor type
//#define MAX31855_TC_SENSOR
#define MAX31865_RTD_SENSOR
// 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
// Pin settings
#define LED_POWER GPIOF,GPIO_PIN_0
#define MAX_CS GPIOA,GPIO_PIN_15
#define SW_BTN GPIOB, GPIO_PIN_4
#define SW_UP GPIOB, GPIO_PIN_7
#define SW_DOWN GPIOB, GPIO_PIN_3
#define SW_LEFT GPIOB, GPIO_PIN_5
#define SW_RIGHT GPIOB, GPIO_PIN_6
#define SSR_PIN GPIOA, GPIO_PIN_1
// Visual niceness
#define hal_init() HAL_Init()
// Add bootloader option to top of idle screen menu
#define BOOTLOADER_SHORTCUT
#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
#endif
// vim:softtabstop=4 shiftwidth=4 expandtab
|