GyroLights  0.1
Oakleaf
projectConfig.h File Reference

project specific configuration parameters More...

Go to the source code of this file.

Namespaces

 conf
 

Variables

const char conf::WIFI_AP_SSID_PREFIX [] = "ESP32_"
 first part of the access point ssid. second part are the last 6 characters of the mac address in hex. More...
 
const char conf::WIFI_AP_PW [] = "password1234"
 password of the configuration access point More...
 
const int conf::NUM_LEDS_PER_STRIP = 21
 number of leds per individual strip More...
 
const int conf::NUM_STRIPS = 1
 number of led strips More...
 
const uint8_t conf::MAX_BRIGHTNESS = 80
 maximum led brightness value. from 0 (always off) to 255 (maximum possible brightness). More...
 
const int conf::I2C_TIMEOUT_MS = 1000
 
const float conf::WMA_PARAM_ACCEL = 0.5
 parameter \(\alpha\) in weighted moving average \((1-\alpha) * newValue + \alpha * oldValue \). lower value: more immediate response, higher value may reduce flicker. in range [0, 1] More...
 
const int conf::UNIVERSE = 1
 First DMX Universe to listen for. More...
 
const int conf::UNIVERSE_COUNT = 1
 Total number of Universes to listen for, starting at UNIVERSE. More...
 
const char conf::BLE_MASTER_NAME [] = "ESP_32"
 this has to be the same name for a pair of lights More...
 
const gpio_num_t conf::LED_PIN = GPIO_NUM_2
 
const gpio_num_t conf::PINS_ROTARY_SWITCH []
 all rotary switch pins are pulled up in hardware More...
 
const gpio_num_t conf::PIN_LED_CLOCK = GPIO_NUM_19
 
const gpio_num_t conf::PIN_LED_DATA_1 = GPIO_NUM_23
 
const gpio_num_t conf::PIN_RF_SWITCH = GPIO_NUM_35
 Input Pullup in Hardware. More...
 
const gpio_num_t conf::PIN_MPU6050_SCL = GPIO_NUM_22
 
const gpio_num_t conf::PIN_MPU6050_SDA = GPIO_NUM_21
 
const int conf::NUM_PINS_ROTARY_SWITCH = (sizeof(PINS_ROTARY_SWITCH)/sizeof(*PINS_ROTARY_SWITCH))
 
const int conf::NUM_LEDS_TOTAL = (NUM_LEDS_PER_STRIP * NUM_STRIPS)
 
const int conf::I2C_GYRO_ADDR = 0x68
 
const int conf::GYRO_ACCEL_SENSITIVITY = 2
 sensitivity of the accelerometer range: 0..3 More...
 
const int conf::G_VAL = (2 << (15 - 2 - GYRO_ACCEL_SENSITIVITY))
 
const char conf::BLE_SERVICE_UUID_str [] = "018c4715-a90b-7ff1-8c4c-aeed790b0a0a"
 
const char conf::BLE_CHARACTERISTIC_UUID_str [] = "018c4715-f39b-7e59-8928-4a8eda02c6a5"
 

Detailed Description

project specific configuration parameters

Author
314rs (lars..nosp@m.born.nosp@m.traeg.nosp@m.er@g.nosp@m.mx.de)
Version
0.1
Date
2023-09-13