modified playing time

This commit is contained in:
Jens Noack 2025-03-21 08:47:58 +01:00
parent 9be74cc721
commit b25ea3f6f0
2 changed files with 62 additions and 5 deletions

View file

@ -1,9 +1,9 @@
#include <Arduino.h>
#define MV_ONE_IS_PLAYING 3100 //voltage level in mV of the busy signal - if there is one player is playing
#define MS_MAX_PLAYING_LENGTH 60000 //if there is one SD card signaling busy all the time - this is the time out for the play detection
#define MS_TO_WAIT_BEFORE_NEXT_MOVE 120000 //ms to wait before new movement is valid
#define MS_TO_WAIT_BEFORE_VALID_NO_MOVEMEVENT 10000 //ms a no movement phase must be
#define MV_ONE_IS_PLAYING 3100 //voltage level in mV of the busy signal - if there is one player is playing
#define MS_MAX_PLAYING_LENGTH 150000 //if there is one SD card signaling busy all the time - this is the time out for the play detection
#define MS_TO_WAIT_BEFORE_NEXT_MOVE 2*MS_MAX_PLAYING_LENGTH //ms to wait before new movement is valid
#define MS_TO_WAIT_BEFORE_VALID_NO_MOVEMEVENT 10000 //ms a no movement phase must be
#define MS_TO_WAIT_BEFORE_NEXT_PRESS 200
const uint8_t vol_poti_pin = 35;