mirror of
https://github.com/dalathegreat/Battery-Emulator.git
synced 2025-10-03 17:59:27 +02:00
Battery and inverter can bus can be selected in the UI
This commit is contained in:
parent
c63ae6eb23
commit
e3de4e546c
29 changed files with 224 additions and 65 deletions
|
@ -69,6 +69,10 @@ class StarkHal : public Esp32Hal {
|
|||
// Battery wake up pins
|
||||
virtual gpio_num_t WUP_PIN1() { return GPIO_NUM_25; }
|
||||
virtual gpio_num_t WUP_PIN2() { return GPIO_NUM_32; }
|
||||
|
||||
std::vector<comm_interface> available_interfaces() {
|
||||
return {comm_interface::Modbus, comm_interface::RS485, comm_interface::CanNative, comm_interface::CanFdNative};
|
||||
}
|
||||
};
|
||||
|
||||
#endif // __HW_STARK_H__
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue