display { fps = 15 left { type = "ssd1306" addr = "0x3d" size = "128x64" } right { type = "ssd1306" addr = "0x3c" size = "128x64" } color { type = "st7789" size = "240x240" reset = "GPIOx" # reset pin dc = "GPIOx" # data control pin bl = "GPIOx" # backlight pin } } input { encoder { # The rotary is configured as input device. # # On Raspberry Pi, this can be done by adding the following line # to /boot/config.txt: # # # Rotary encoder on GPIO20 & GPIO21 # dtoverlay=rotary-encoder,pin_a=20,pin_b=21,relative_axis=1,steps-per-period=2 # # # Rotary push button, KEY_MUTE on GPIO16 # dtoverlay=gpio-key,gpio=16,label="rotary-switch",keycode=113 type = "input" #type = "gpio" #cw = "GPIOx" # clock wise pulse pin #ccw = "GPIOx" # counter clock wise pulse pin #sw = "GPIOx" # switch pin } } player { # Auto detect the player. type = "auto" ## Music Player Daemon # type = "mpd" # host = "localhost:6600" # password = "" } audio { type = "fifo" path = "/tmp/mpd.fifo" rate = 44100 channels = 2 bits = 16 }