Add Emc2101 (#4491)

Co-authored-by: Jesse Hills <3060199+jesserockz@users.noreply.github.com>
This commit is contained in:
Eduard Llull
2023-10-25 20:30:11 +02:00
committed by GitHub
parent 2895cc6c57
commit 28aedae8d7
10 changed files with 574 additions and 0 deletions
@@ -0,0 +1,9 @@
#include "emc2101_output.h"
namespace esphome {
namespace emc2101 {
void EMC2101Output::write_state(float state) { this->parent_->set_duty_cycle(state); }
} // namespace emc2101
} // namespace esphome