-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathparameters.h.dist
37 lines (30 loc) · 977 Bytes
/
parameters.h.dist
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
#define WIFI_SSID "wifi ssid"
#define WIFI_PASSWORD "wifi password"
#define BLUETOOTH_NAME "BluetoothSpeaker"
#
#define MAX_RADIOS 50
#define WEB_RADIOS_URL "https://example.com/radios.json"
#define WEB_RADIO_USER "username" // can be an empty string
#define WEB_RADIO_PASSWD "password" // can be an empty string
#define RETRIES_DELAY 5 * 1000
#define SPI_CLK_PIN 18
#define SPI_MISO_PIN 19
#define SPI_MOSI_PIN 23
#define VS1053_CS 5
#define VS1053_DCS 16
#define VS1053_DREQ 4
#define IR_RECEIVE_PIN 27
#define IR_DELAY 500
#define IR_PAUSE 0x40
#define IR_NEXT 0x5
#define IR_PREVIOUS 0x2
#define IR_VOL_DOWN 0xA
#define IR_VOL_UP 0x1E
#define IR_VOL_MUTE 0x16
#define IR_VOL_SOURCE 0x54
#define VOLUME_MAX 100
#define VOLUME_STEP 2
#define RADIO_LEN_LIMIT 16
#define SONG_LEN_LIMIT 40
#define CHANGE_RADIO_DELAY 1000
#define SAVE_DELAY 10 * 1000