fix comments for documentation
Signed-off-by: dragonchaser <christian@boltares.de>
This commit is contained in:
@@ -31,9 +31,9 @@ void Vibrate();
|
|||||||
|
|
||||||
// LED configuration
|
// LED configuration
|
||||||
#define LED_TYPE WS2812B
|
#define LED_TYPE WS2812B
|
||||||
#define LED_DATA_PIN 21 // use 1 for GPIO 1 and 21 for builtin
|
#define LED_DATA_PIN 1 // 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_NUM_LEDS 7 // 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_COLOR_ORDER RGB // USE GRB for the onboard led and RGB for the chain
|
||||||
|
|
||||||
#define LED_BRIGHTNESS 96
|
#define LED_BRIGHTNESS 96
|
||||||
#define LED_FRAMES_PER_SECOND 24
|
#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!)
|
// 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
|
// 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
|
// 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)
|
// 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
|
// TODO: add a table here that defines distance in meters for scenarios where the device is in plain sight
|
||||||
#define MIN_RSSI_POWER -50
|
#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
|
// 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
|
// 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
|
// 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_stop();
|
||||||
esp_wifi_deinit();
|
esp_wifi_deinit();
|
||||||
|
|||||||
Reference in New Issue
Block a user