File tree Expand file tree Collapse file tree 1 file changed +18
-5
lines changed Expand file tree Collapse file tree 1 file changed +18
-5
lines changed Original file line number Diff line number Diff line change @@ -593,22 +593,35 @@ using WiFiServerSecure = BearSSL::WiFiServerSecure;
593
593
#define PIN_ANALOG_START A0
594
594
#define ANALOG_BUFFER_SIZE 512
595
595
#define ANALOG_BUFFERS 5
596
+
597
+ // default pins for UNO VS1053 shield
598
+ #define VS1053_CS 6
599
+ #define VS1053_DCS 7
600
+ #define VS1053_DREQ 2
601
+ #define VS1053_CS_SD 9
602
+ #define VS1053_RESET 8
603
+ #define VS1053_DEFINED
604
+ #define PIN_CS 9
605
+
596
606
#ifdef ARDUINO
597
607
# define USE_WIFI
598
608
# define USE_URL_ARDUINO
599
609
# define USE_AUDIO_SERVER
600
610
# include " WiFiS3.h"
601
611
#endif
612
+
602
613
#endif
603
614
604
615
// ------ VS1053 ----------
605
616
606
617
// Default Pins for VS1053
607
- #define VS1053_CS 5
608
- #define VS1053_DCS 16
609
- #define VS1053_DREQ 4
610
- #define VS1053_RESET 15
611
- #define VS1053_CS_SD -1
618
+ #ifndef VS1053_DEFINED
619
+ # define VS1053_CS 5
620
+ # define VS1053_DCS 16
621
+ # define VS1053_DREQ 4
622
+ # define VS1053_RESET 15
623
+ # define VS1053_CS_SD -1
624
+ #endif
612
625
613
626
// use 0 for https://github.com/baldram/ESP_VS1053_Library
614
627
// use 1 for https://github.com/pschatzmann/arduino-vs1053
You can’t perform that action at this time.
0 commit comments