ESPHome  2024.10.2
atm90e32_button.cpp
Go to the documentation of this file.
1 #include "atm90e32_button.h"
2 #include "esphome/core/log.h"
3 
4 namespace esphome {
5 namespace atm90e32 {
6 
7 static const char *const TAG = "atm90e32.button";
8 
10  ESP_LOGI(TAG, "Running offset calibrations, Note: CTs and ACVs must be 0 during this process...");
11  this->parent_->run_offset_calibrations();
12 }
13 
15  ESP_LOGI(TAG, "Offset calibrations cleared.");
16  this->parent_->clear_offset_calibrations();
17 }
18 
19 } // namespace atm90e32
20 } // namespace esphome
Implementation of SPI Controller mode.
Definition: a01nyub.cpp:7