groovylight/example-config.toml
saji 9a106156d0
Some checks failed
Unit Tests / Test (push) Failing after 2m12s
add displaystrobe, config/geom fixes
2024-10-08 13:14:27 -05:00

53 lines
1.5 KiB
TOML

# Groovylight configuration base file.
# make your edits using this, at the moment the defaults are not stored
# in the program so every value must be specified.
[hardware]
# The target platform.
# Valid options: "cxxrtl", "colorlight"
type = "cxxrtl"
# hardware-specific options, these are gently parsed i.e extra options are ignored.
# colorlight options
# Maps the strings array onto the colorlight connectors.
# it's fine (but will raise a warning) if the list is longer than the number of strings.
stringmapping = [ "J1", "J2", "J3", "J4", "J5", "J6", "J7", "J8" ]
# cxxrtl options
[network]
# Network port to listen on for UDP datagrams.
port = 9999
# IPv4 address to use for the Ethernet port.
# This setting is ignored for CXXRTL.
# 'dhcp' will get the IP at runtime.
ip = "dhcp" # Can also be e.g. "192.168.0.123"
[display]
strict = true # allows some wacky configurations, like panels that overlap.
[[display.strings]]
position = { x = 64, y = 0 }
dimensions = { length = 256, height = 64 }
rotation = "UPDOWN"
[[display.strings]]
position = { x = 65, y = 0 }
dimensions = { length = 256, height = 64 }
rotation = "LEFTRIGHT"
[[display.strings]]
position = { x = 65, y = 65 }
dimensions = { length = 256, height = 64 }
rotation = "LEFTRIGHT"
[[display.strings]]
position = { x = 65, y = 130 }
dimensions = { length = 256, height = 64 }
rotation = "LEFTRIGHT"
[[display.strings]]
position = { x = 65, y = 195 }
dimensions = { length = 256, height = 64 }
rotation = "LEFTRIGHT"