Files
@ 74b1bacb8466
Branch filter:
Location: therm/config.h - annotation
74b1bacb8466
698 B
text/plain
Default to decent settings
ab7abb62e433 ab7abb62e433 ab7abb62e433 512edacc3586 512edacc3586 512edacc3586 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 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()
#endif
// vim:softtabstop=4 shiftwidth=4 expandtab
|