Support of simple gestures for VL53L0X laser sensor

This commit is contained in:
Egor Chernodarov
2021-04-02 23:04:10 +07:00
parent 8755a9bcda
commit 601005f837
5 changed files with 167 additions and 1 deletions

View File

@@ -45,6 +45,11 @@
#include "../usermods/DHT/usermod_dht.h"
#endif
#ifdef USERMOD_VL53L0X_GESTURES
#include <Wire.h> //it's needed here to correctly resolve dependencies
#include "../usermods/VL53L0X_gestures/usermod_vl53l0x_gestures.h"
#endif
void registerUsermods()
{
/*
@@ -87,4 +92,8 @@ void registerUsermods()
#ifdef USERMOD_DHT
usermods.add(new UsermodDHT());
#endif
#ifdef USERMOD_VL53L0X_GESTURES
usermods.add(new UsermodVL53L0XGestures());
#endif
}