#ifndef myoptions_h
#define myoptions_h


#ifndef ARDUINO_ESP32S3_DEV
#define ARDUINO_ESP32S3_DEV
#endif
#define L10N_LANGUAGE PL   

#define USE_BUILTIN_LED false 


#define DSP_MODEL           DSP_ILI9488
#define TFT_CS              10              
#define TFT_MOSI            11              
#define TFT_SCLK            12              
#define TFT_MISO            13              
//#define BRIGHTNESS_PIN      14               
#define TFT_DC              9
#define TFT_RST             -1 

/* I2S DAC Configuration - EXTERNAL DAC */
#define I2S_INTERNAL      false         /* Use external I2S DAC (NOT internal ESP32 DAC) */
#define I2S_DOUT          4             
#define I2S_BCLK          5             
#define I2S_LRC           6             

//#define ENC2_BTNL        47  //  CLK       
//#define ENC2_BTNR        48  //  DT   
//#define ENC2_BTNB        21  //  SW
//#define ENC2_INTERNALPULLUP     false   

//#define IR_PIN            38 

//#define:  WEATHER_FMT_SHORT, or EXT_WEATHER 1 or 0

#define EXT_WEATHER 0


/* RTC DS3231 Module */
//#define RTC_MODULE        DS3231        /* DS3231 or DS1307 */
//#define RTC_SDA           17            /* I2C SDA pin for RTC */ 
//#define RTC_SCL           18            /* I2C SCL pin for RTC */ 

/*  SDCARD  */
//  #define SDC_CS          39      /* SDCARD CS pin */
// Connect SDC_MOSI to  40  /* On board can be D1 pin */
// Connect SDC_SCK to   41   /* On board can be CLK pin */
// Connect SDC_MISO to  42  /* On board can be D0 pin */
//  #define SD_SPIPINS  41, 42, 40    /* SCK, MISO, MOSI */

/* Display Settings */
#define RSSI_DIGIT true             /* Show RSSI as digit (true) or icon (false) */

/* Ustawiena Fontu Zegara */
#define CLOCKFONT_MONO false    /* false = używamy fontu Arimo dla ILI9488 */

#define CLOCK_TTS_ENABLED true        // w panelu www jest możliwośc wł/wył zegara
#define CLOCK_TTS_LANGUAGE "PL"       
#define CLOCK_TTS_INTERVAL_MINUTES 30 

#define NAMEDAYS_FILE  PL  
//#define BOOMBOX_STYLE
#define VU_PEAK

/* Czas powrotu z listy stacji do ekranu głównego (w sekundach) */
#define STATIONS_LIST_RETURN_TIME 5

#endif
