Compare commits
5 Commits
30db59d4a8
...
webui
| Author | SHA1 | Date | |
|---|---|---|---|
| 6d9b3fadd0 | |||
| 966868b531 | |||
| 715359f89e | |||
| da809f1ae4 | |||
| d353bc4f38 |
@@ -25,8 +25,8 @@
|
||||
"AudioGain": 0.5,
|
||||
"ScanTimeout": 50,
|
||||
"HardwareVersion": 2,
|
||||
"GameTimeout": 10000,
|
||||
"PowerTimeout": 420000,
|
||||
"GameTimeout": 20000,
|
||||
"PowerTimeout": 30,
|
||||
"PowerOTADelay": 4000,
|
||||
"Brightness": 20
|
||||
"Brightness": 2
|
||||
}
|
||||
Submodule FW/leo_muziekdoos_esp32/lib/ESP8266Audio updated: 6110583190...818dfd5cb7
Submodule FW/leo_muziekdoos_esp32/lib/littleFS_esp32 updated: ccc54923d4...c28cf47f61
@@ -9,7 +9,7 @@
|
||||
; https://docs.platformio.org/page/projectconf.html
|
||||
|
||||
[env]
|
||||
src_filter = +<*> -<.git/> -<.svn/> -<example/> -<examples/> -<test/> -<tests/>
|
||||
build_src_filter = +<*> -<.git/> -<.svn/> -<example/> -<examples/> -<test/> -<tests/>
|
||||
|
||||
|
||||
[env:esp32-pico]
|
||||
@@ -22,7 +22,7 @@ lib_deps =
|
||||
fastled/FastLED@^3.5.0
|
||||
#robtillaart/AS5600 @ ^0.3.4
|
||||
robtillaart/AS5600 @ ^0.3.6
|
||||
src_filter = ${env.build_src_filter}
|
||||
build_src_filter = ${env.build_src_filter}
|
||||
lib_ldf_mode = deep+
|
||||
build_flags =
|
||||
-DHARDWARE=2
|
||||
|
||||
@@ -4,6 +4,7 @@
|
||||
|
||||
bool newState = true;
|
||||
uint32_t idleTime = 0;
|
||||
uint32_t gameTimeout = 0;
|
||||
|
||||
|
||||
|
||||
@@ -24,6 +25,7 @@ GameStates gameState = GameStates::stateInit;
|
||||
|
||||
void initGame(void)
|
||||
{
|
||||
gameTimeout = GetIntparam("GameTimeout", TIMEOUT_ARMED);
|
||||
log_i("Game: init: done");
|
||||
}
|
||||
|
||||
@@ -151,7 +153,7 @@ void handleGame(void)
|
||||
else
|
||||
{
|
||||
uint32_t now = millis();
|
||||
if(now - idleTime > TIMEOUT_ARMED)
|
||||
if(now - idleTime > gameTimeout)
|
||||
{
|
||||
log_i("Armed timed-out, clear current UID and go back to Idle");
|
||||
clearRFIDlastUID();
|
||||
|
||||
@@ -9,7 +9,7 @@
|
||||
#include "power.h"
|
||||
|
||||
#define TIMEOUT_IDLE 20000
|
||||
#define TIMEOUT_ARMED 10000
|
||||
#define TIMEOUT_ARMED 20000
|
||||
|
||||
typedef enum{
|
||||
stateInit,
|
||||
|
||||
@@ -7,9 +7,10 @@
|
||||
#include "audio.h"
|
||||
#include "ota.h"
|
||||
#include "led.h"
|
||||
#include "config.h"
|
||||
|
||||
|
||||
#define TIMEOUT_POWER (7 * 1000 * 60) // 7 minutes timeout
|
||||
#define TIMEOUT_POWER (30 * 1000 * 60) // 7 minutes timeout
|
||||
#define POWERBUTTONDELAY 400
|
||||
//#define BATTERYMEASUREDELAY 60000
|
||||
#define POWERBUTTONOTADELAY 4000
|
||||
|
||||
@@ -17,15 +17,6 @@
|
||||
#define HALLINTERVAL 100
|
||||
#define HALLTHRESHOLD 5
|
||||
|
||||
static String HALLSENESORSTATES_ENUM2STR[HALL_LAST]
|
||||
{
|
||||
"Hall Idle",
|
||||
"Hall Increasing",
|
||||
"Hall Tipover",
|
||||
"Hall decreasing",
|
||||
"Hall tipUnder"
|
||||
};
|
||||
|
||||
void initSensor(void);
|
||||
void handleBatterySensor(void);
|
||||
void handleHallSensor(void);
|
||||
|
||||
BIN
administratie/kwitantie_20230430.docx
Normal file
BIN
administratie/kwitantie_20230430.docx
Normal file
Binary file not shown.
BIN
administratie/kwitantie_20230430.pdf
Normal file
BIN
administratie/kwitantie_20230430.pdf
Normal file
Binary file not shown.
BIN
administratie/muziekdoos_uitgaven.xlsx
Normal file
BIN
administratie/muziekdoos_uitgaven.xlsx
Normal file
Binary file not shown.
Reference in New Issue
Block a user