Test i2c foo
This commit is contained in:
1 parent
31c3e4aba9
commit
9ee2ee5864
1 file changed
+5
-2
@@ -7,11 +7,14 @@ namespace empty_i2c_component {
|
||||
static const char *TAG = "empty_i2c_component.component";
|
||||
|
||||
void EmptyI2CComponent::setup() {
|
||||
|
||||
this->write_register(0x0, 0x1, 0x1);
|
||||
}
|
||||
|
||||
void EmptyI2CComponent::loop() {
|
||||
|
||||
this->write_register(0x0, 0x1, 0x1);
|
||||
delay(1000);
|
||||
this->write_register(0x0, 0x0, 0x1);
|
||||
delay(1000);
|
||||
}
|
||||
|
||||
void EmptyI2CComponent::dump_config(){
|
||||
|
||||
Reference in new issue
Block a user