groovylight/example-config.toml

53 lines
1.5 KiB
TOML
Raw Normal View History

2024-09-27 06:04:17 +00:00
# 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]]
2024-10-05 05:24:16 +00:00
position = { x = 64, y = 0 }
dimensions = { length = 256, height = 64 }
2024-09-27 06:04:17 +00:00
rotation = "UPDOWN"
[[display.strings]]
2024-10-05 05:24:16 +00:00
position = { x = 65, y = 0 }
dimensions = { length = 256, height = 64 }
2024-09-27 06:04:17 +00:00
rotation = "LEFTRIGHT"
[[display.strings]]
2024-10-05 05:24:16 +00:00
position = { x = 65, y = 65 }
dimensions = { length = 256, height = 64 }
2024-09-27 06:04:17 +00:00
rotation = "LEFTRIGHT"
[[display.strings]]
2024-10-05 05:24:16 +00:00
position = { x = 65, y = 130 }
dimensions = { length = 256, height = 64 }
2024-09-27 06:04:17 +00:00
rotation = "LEFTRIGHT"
[[display.strings]]
2024-10-05 05:24:16 +00:00
position = { x = 65, y = 195 }
dimensions = { length = 256, height = 64 }
2024-09-27 06:04:17 +00:00
rotation = "LEFTRIGHT"