diff --git a/btcontrol.ino b/btcontrol.ino index 7aaab4c..e2316bd 100644 --- a/btcontrol.ino +++ b/btcontrol.ino @@ -31,9 +31,9 @@ void Vibrate(); // LED configuration #define LED_TYPE WS2812B -#define LED_DATA_PIN 21 // use 1 for GPIO 1 and 21 for builtin -#define LED_NUM_LEDS 1 // use 1 for builtin and whatever your count is for extern -#define LED_COLOR_ORDER GRB // USE GRB for the onboard led and RGB for the chain +#define LED_DATA_PIN 1 // use 1 for GPIO 1 and 21 for builtin +#define LED_NUM_LEDS 7 // use 1 for builtin and whatever your count is for extern +#define LED_COLOR_ORDER RGB // USE GRB for the onboard led and RGB for the chain #define LED_BRIGHTNESS 96 #define LED_FRAMES_PER_SECOND 24 @@ -54,7 +54,7 @@ void Vibrate(); // Number of devices that can be monitored (might cause a reset because of memory oversaturation!) // If you are using more then 16, you have to use CRGBPalette256 instead of CRGBPalette16 // It probably makes sense to align this with LED_NUM_LEDS -#define MAX_MONITOR_DEVICES 3 +#define MAX_MONITOR_DEVICES 7 // Minimum transmit power the device needs to be recognice (this defines the min proximity needed for the device to be used) // TODO: add a table here that defines distance in meters for scenarios where the device is in plain sight #define MIN_RSSI_POWER -50 @@ -232,7 +232,7 @@ void setup() { // and using a 20Ah powerbank, the device sholuld run between 5.5 days and 11.9 days // esp_light_sleep does not work, neither das disabling the brown-out-detector - // Using only the onboard LED it uses 0.05A with LED switched of and up to 0.07A with LED switched on + // Using only the onboard LED it uses 0.05A independent whether LED is on or off // assuming that we use a 20Ah powerbank again this should give us a runtime of up to 11.9 days esp_wifi_stop(); esp_wifi_deinit();