mirror of
https://github.com/HASwitchPlate/openHASP.git
synced 2025-07-25 20:26:41 +00:00
Update Lanbon for Arduino v1 and v2
This commit is contained in:
parent
44355f24b9
commit
817843558b
@ -9,10 +9,12 @@
|
|||||||
#include "dev/esp32/esp32.h"
|
#include "dev/esp32/esp32.h"
|
||||||
|
|
||||||
#include "driver/pcnt.h" // Pulse count driver
|
#include "driver/pcnt.h" // Pulse count driver
|
||||||
|
#if ESP_ARDUINO_VERSION_MAJOR >= 2
|
||||||
#include "hal/pcnt_hal.h"
|
#include "hal/pcnt_hal.h"
|
||||||
#include "hal/gpio_hal.h"
|
#include "hal/gpio_hal.h"
|
||||||
#include "soc/pcnt_periph.h"
|
#include "soc/pcnt_periph.h"
|
||||||
#include "esp_rom_gpio.h"
|
#include "esp_rom_gpio.h"
|
||||||
|
#endif
|
||||||
|
|
||||||
#include "driver/adc.h"
|
#include "driver/adc.h"
|
||||||
#include "esp_adc_cal.h"
|
#include "esp_adc_cal.h"
|
||||||
|
Loading…
x
Reference in New Issue
Block a user