Files
beatglow/harmon.conf
T
2026-10-29 17:29:41 +01:00

69 lines
1.5 KiB
Plaintext

display {
fps = 20
#main {
# type = "ssd1322"
# size = "256x64"
#}
left {
type = "ssd1306"
addr = "0x3c"
size = "128x64"
}
right {
type = "ssd1306"
addr = "0x3d"
size = "128x64"
}
color {
#type = "st7789"
#size = "240x240"
type = "st7735"
size = "128x160"
port = "" # SPI0.0
reset = "GPIO23" # reset pin
dc = "GPIO24" # data control pin
bl = "GPIO27" # 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/harmon.fifo"
rate = 8000
channels = 2
bits = 16
}