mirror of
https://github.com/Threnklyn/esphome-dev.git
synced 2026-06-02 19:08:54 +02:00
Add Emc2101 (#4491)
Co-authored-by: Jesse Hills <3060199+jesserockz@users.noreply.github.com>
This commit is contained in:
@@ -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
|
||||
Reference in New Issue
Block a user