This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
// ESP32 Tilt Repeater | |
// By David Gray | |
#include "BLEDevice.h" | |
#include "BLEBeacon.h" | |
#include "esp_deep_sleep.h" | |
// User Settings | |
int SCAN_TIME = 5; // Duration to scan for bluetooth devices (in seconds). | |
int TIME_TO_SLEEP = 60; // Duration ESP32 will go to sleep between scans (in seconds). |