Adjust config for new custom relay-pcb
This commit is contained in:
@@ -39,7 +39,7 @@ void setLoglevels(void)
|
||||
esp_log_level_set("wifi", ESP_LOG_INFO);
|
||||
esp_log_level_set("http", ESP_LOG_INFO);
|
||||
// esp_log_level_set("automatedArmchair", ESP_LOG_DEBUG);
|
||||
esp_log_level_set("display", ESP_LOG_INFO);
|
||||
esp_log_level_set("display", ESP_LOG_WARN);
|
||||
// esp_log_level_set("current-sensors", ESP_LOG_INFO);
|
||||
esp_log_level_set("speedSensor", ESP_LOG_WARN);
|
||||
esp_log_level_set("chair-adjustment", ESP_LOG_INFO);
|
||||
|
||||
@@ -163,7 +163,7 @@ void createObjects()
|
||||
// create objects for controlling the chair position
|
||||
// gpio_up, gpio_down, travelDuration, name, defaultPosition
|
||||
legRest = new cControlledRest(GPIO_NUM_2, GPIO_NUM_15, 11000, "legRest");
|
||||
backRest = new cControlledRest(GPIO_NUM_16, GPIO_NUM_4, 12000, "backRest", 100); //default position "100% up"
|
||||
backRest = new cControlledRest(GPIO_NUM_4, GPIO_NUM_16, 12000, "backRest", 100); //default position "100% up"
|
||||
|
||||
// create control object (control.hpp)
|
||||
// with configuration from config.cpp
|
||||
|
||||
Reference in New Issue
Block a user