Skip to content
Snippets Groups Projects

Powerplant fan control

Merged Jan Schmitz requested to merge powerplant_fan_control into master
2 files
+ 52
11
Compare changes
  • Side-by-side
  • Inline
Files
2
menu "LEGOS Entity"
config ENTITY
string "Entity Name"
default "hospital"
default "powerplant"
menu "Hardware configuration"
config PWR_MON_ADDR
@@ -31,11 +31,27 @@ menu "LEGOS Entity"
config PWR_MON_I_MAX
string "Maximum current measured by power monitor"
default "4.00"
config MOTOR_GPIO_PIN
int "Pin used to enable the motor"
default 15
config FAN_GPIO_PIN
int "Pin used to enable the fan"
default 26
config FAN_ENABLED
bool "Fan Software Control Enabled"
default y
config MOTOR_ENABLED
bool "Motor Software Control Enabled"
default y
endmenu
choice
prompt "Power Monitor"
default INA233
default INA209
config INA231
bool "TI INA231 power sensor"
Loading