Gonzalo Paniagua Javier 2f9a66b23e Fix compilation with current esphome code
Fixes errors including:
src/esphome/components/axp192/axp192.cpp: In member function 'void esphome::axp192::AXP192Component::DeepSleep(uint64_t)':
src/esphome/components/axp192/axp192.cpp:355:35: error: 'gpio_num_t' was not declared in this scope
     esp_sleep_enable_ext0_wakeup((gpio_num_t)37, LOW);
                                   ^
src/esphome/components/axp192/axp192.cpp:355:50: error: 'LOW' was not declared in this scope
     esp_sleep_enable_ext0_wakeup((gpio_num_t)37, LOW);
                                                  ^
2021-12-30 16:53:01 -05:00
2020-02-23 12:25:47 +01:00
2020-02-13 11:38:06 +01:00

Additional components to use esphome with a M5StickC.
Mostly a work in progress.
Copy the components to a custom_components directory next to your .yaml configuration file.

  • axp192 : power management - configuration hard coded for the M5StickC - should be made more generic. Must be present to initialize the screen power.
    Can be also used to read some of the power info - most sensors aren't published yet.
    Mostly the AXP192 from M5Stack sample code adapted for esphome.
  • st7735 : TFT screen - configuration hard coded for the M5StickC - should be made more generic.
    Adapted from https://github.com/musk95/esphome-1/tree/dev/esphome/components/st7789v + M5StickC sample code for the init
Description
No description provided
Readme 271 KiB
Languages
C++ 91.2%
Python 8.8%