PlatformIO package of the Teensy core framework compatible with GCC 10 & C++20
Vous ne pouvez pas sélectionner plus de 25 sujets Les noms de sujets doivent commencer par une lettre ou un nombre, peuvent contenir des tirets ('-') et peuvent comporter jusqu'à 35 caractères.

319 lines
9.7KB

  1. #
  2. # Copyright (C) 2011-2013 Michael Vogt <michu@neophob.com>
  3. #
  4. # This file is part of PixelController.
  5. #
  6. #
  7. # EXAMPLE PIXELCONTROLLER CONFIG FILE, tpm2serial (/dev/ttyS1), SNAKE CABLING, RESOLUTION: 16x8
  8. # for example drive some leds an a RPI using https://github.com/scottjgibson/PixelPi
  9. #
  10. #
  11. # PixelController is free software: you can redistribute it and/or modify
  12. # it under the terms of the GNU General Public License as published by
  13. # the Free Software Foundation, either version 3 of the License, or
  14. # (at your option) any later version.
  15. #
  16. # PixelController is distributed in the hope that it will be useful,
  17. # but WITHOUT ANY WARRANTY; without even the implied warranty of
  18. # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
  19. # GNU General Public License for more details.
  20. #
  21. # You should have received a copy of the GNU General Public License
  22. # along with PixelController. If not, see <http://www.gnu.org/licenses/>.
  23. #
  24. #======for octows2811 lib with Teensy 3========
  25. # set the pixel number in the sketch
  26. # set the pixel resolution below
  27. # change the port setting below as there is no auto detect.
  28. #==============================================
  29. #=========================
  30. #default values for generators
  31. #=========================
  32. initial.image.simple=logo.gif
  33. initial.blinken=torus.bml
  34. initial.text=PIXELINVADERS
  35. font.filename=04B_03__.TTF
  36. font.size=82
  37. #x/y offset for screen capturing generator
  38. #if you define screen.capture.window.size.x as 0, the screen capture generator will be disabled
  39. screen.capture.offset=100
  40. screen.capture.window.size.x=0
  41. #screen.capture.window.size.x=500
  42. screen.capture.window.size.y=300
  43. #=========================
  44. #network port config
  45. #=========================
  46. #fudi protocol config, used to communicate with pure data sketch
  47. net.listening.port=3448
  48. net.listening.addr=127.0.0.1
  49. net.send.port=3449
  50. #osc protocol config
  51. osc.listening.port=9876
  52. #=========================
  53. #frames per second
  54. #=========================
  55. fps=100
  56. #50
  57. #35
  58. #25
  59. #=========================
  60. #display internal gui window and debug buffer?
  61. #=========================
  62. show.debug.window=true
  63. maximal.debug.window.xsize=600
  64. maximal.debug.window.ysize=500
  65. #=========================
  66. #per default you get # of output windows + 1 visuals
  67. #maybe you need more, so add them here if you want...
  68. #=========================
  69. additional.visual.screens=0
  70. #=========================
  71. #the size of the software output matrix
  72. #=========================
  73. led.pixel.size=16
  74. #=========================
  75. #start in random mode?
  76. #=========================
  77. startup.in.randommode=false
  78. #=========================
  79. #load a preset if PixelController starts?
  80. #Warning, this will overwrite your settings configured above (initial generator values)!
  81. #=========================
  82. #startup.load.preset.nr=1
  83. #=========================
  84. #use audio as input setting (true)
  85. #or just regular fps (false)
  86. #=========================
  87. update.generators.by.sound=true
  88. #=========================
  89. #if the audio level falls below this threshold, the volume gets muted
  90. #0.0f is the lowest possible value, 1.0f is the maximum value
  91. #=========================
  92. sound.silence.threshold=0.0005f
  93. ### ### ### ### ### ### ### ### ### ### ### ### ### ### ### ### ### ### ### ### ### ### ### ### ### ### ### ### ### ###
  94. # OUTPUT SETTINGS #
  95. # enable only ONE output device (PixelInvaders, RainbowduinoV2, RainbowduinoV3, Art-Net, TPM2, UDP, Adafruit or Minidmx)
  96. ### ### ### ### ### ### ### ### ### ### ### ### ### ### ### ### ### ### ### ### ### ### ### ### ### ### ### ### ### ###
  97. #=========================
  98. # optional, defines the color order of the output device
  99. # this option is used for ALL output devices, if you have multiple panels you must define
  100. # multiple entries, for example if you have 3 panels you need to define "BRG,BRG,BRG"
  101. #
  102. # if this setting is commented out, RGB color order is assumed for all panels
  103. #=========================
  104. panel.color.order=BRG
  105. #bgr
  106. #RGB
  107. #=========================
  108. # Apply gamma correction for output panels
  109. # Valid options
  110. # - NONE
  111. # - GAMMA_20: apply gamma 2.0 correction
  112. # - GAMMA_22: apply gamma 2.2 correction
  113. # - GAMMA_25: apply gamma 2.5 correction
  114. # - SPECIAL1: apply special gamma correction
  115. #=========================
  116. panel.gamma.tab=GAMMA_25
  117. #=========================
  118. # Settings for PixelInvaders panels, valid options:
  119. #=========================
  120. # NO_ROTATE,
  121. # ROTATE_90,
  122. # ROTATE_90_FLIPPEDY,
  123. # ROTATE_180,
  124. # ROTATE_180_FLIPPEDY,
  125. # ROTATE_270,
  126. #=========================
  127. #HINT: you define how many PixelInvaders panels are in use, in this example we use four panels.
  128. #pixelinvaders.layout.row1=NO_ROTATE,NO_ROTATE
  129. #pixelinvaders.layout.row2=NO_ROTATE,NO_ROTATE
  130. #if different panels have different color charateristics, you can fine-tune the color here (subtract)
  131. #example for two panels
  132. #pixelinvaders.coloradjust.r.0=0
  133. #pixelinvaders.coloradjust.g.0=0
  134. #pixelinvaders.coloradjust.b.0=0
  135. #pixelinvaders.coloradjust.r.1=15
  136. #pixelinvaders.coloradjust.g.1=0
  137. #pixelinvaders.coloradjust.b.1=0
  138. #do not try this device for autodetection (speedup application start)
  139. #pixelinvaders.blacklist.devices=/dev/ttyUSB000
  140. #if you have multiple pixelinvaders panels wired up special, you can define this here.
  141. #if you don't define this setting, the "default wiring" is expected
  142. #example (the number define the wiring direction):
  143. # +---+---+---+
  144. # | 0 | 3 | 4 |
  145. # +---+---+---+
  146. # | 1 | 2 | 5 |
  147. # +---+---+---+
  148. #HINT: the first panel is 0!
  149. #pixelinvaders.panel.order=0,3,4,1,2,5
  150. #networked pixelinvader settings, use with ser2net
  151. #pixelinvaders.panel.ip=192.168.111.22
  152. #pixelinvaders.panel.port=5333
  153. #=========================
  154. #settings for null output
  155. #=========================
  156. #nulloutput.devices.row1=2
  157. #nulloutput.devices.row2=0
  158. #=========================
  159. #settings for rainbowduinoV2
  160. #=========================
  161. #i2c destination address + layout definition
  162. #layout.row1.i2c.addr=5,6
  163. #layout.row2.i2c.addr=8,9
  164. #=========================
  165. #settings for rainbowduinoV3
  166. #=========================
  167. #serial device names + layout definition
  168. # on Linux/OSX use names like "/dev/ttyUSB1"
  169. # on Windows use names like "COM1"
  170. #layout.row1.serial.devices=/dev/ttyUSB0,/dev/ttyUSB1
  171. #layout.row2.serial.devices=/dev/ttyUSB2,/dev/ttyUSB3
  172. #=========================
  173. #settings for stealth panel
  174. #=========================
  175. #stealth.layout.row1=NO_ROTATE
  176. #=========================
  177. #settings for Art-Net, E1.31, Null output, Minidmx, UDP, TPM2, TPM2Net
  178. #=========================
  179. output.resolution.x=32
  180. #16
  181. output.resolution.y=8
  182. #flip each second scanline
  183. #output.snake.cabling=true ================me changed
  184. #OR use manual image mapping, instead of the snake cabling setting.
  185. #the output mapping table should contain output.resolution.x * output.resolution.y entries
  186. #REMEMBER: the first outputs starts at 0 NOT 1!
  187. #output.mapping=0,1,4,5,2,3...
  188. #optional rotate image, valid options:
  189. # NO_ROTATE (default),
  190. # ROTATE_90,
  191. # ROTATE_90_FLIPPEDY,
  192. # ROTATE_180,
  193. # ROTATE_180_FLIPPEDY,
  194. # ROTATE_270
  195. #output.layout=NO_ROTATE
  196. #=========================
  197. #settings for Art-Net devices
  198. #Info: PixelController supports more than 1 universe
  199. #do NOT FORGET to define the output resolution above!
  200. #=========================
  201. #HINT: you define how many artnet panels are in use, in this example we use four panels.
  202. #artnet.layout.row1=NO_ROTATE,NO_ROTATE
  203. #artnet.layout.row2=NO_ROTATE,NO_ROTATE
  204. #controller ip address
  205. #artnet.ip=192.168.1.2
  206. #define the default artnet broadcast address, default is 2.255.255.255
  207. #artnet.broadcast.address=255.0.0.0
  208. #define how many rgb pixels are used on a universe, maximal 170 (=510 Channels)
  209. #Example: if you use two 8x8 RGB Led matrix, you connected the first matrix on universe 1
  210. # and the second matrix on universe 2, you would set artnet.pixels.per.universe=64
  211. #artnet.pixels.per.universe=170
  212. #define the first universe id
  213. #artnet.first.universe.id=1
  214. #=========================
  215. #settings for E1.31 devices
  216. #Info: PixelController supports more than 1 universe
  217. #do NOT FORGET to define the output resolution above!
  218. #=========================
  219. #HINT: you define how many e1.31 panels are in use, in this example we use four panels.
  220. #e131.layout.row1=NO_ROTATE,NO_ROTATE
  221. #e131.layout.row2=NO_ROTATE,NO_ROTATE
  222. #controller ip address
  223. #hint, use unicast address or 239.255.0.0 for multicast
  224. #e131.ip=239.255.0.0
  225. #define how many rgb pixels are used on a universe, maximal 170 (=510 Channels)
  226. #Example: if you use two 8x8 RGB Led matrix, you connected the first matrix on universe 1
  227. # and the second matrix on universe 2, you would set artnet.pixels.per.universe=64
  228. #e131.pixels.per.universe=170
  229. #define the first universe id
  230. #e131.first.universe.id=1
  231. #=========================
  232. #settings for udp "device"
  233. #do NOT FORGET to define the output resolution above!
  234. #=========================
  235. #send to this address
  236. #udp.ip=192.168.111.25
  237. #udp.port=6803
  238. #=========================
  239. #settings for tpm2 device
  240. #do NOT FORGET to define the output resolution above!
  241. #=========================
  242. #Where is the TPM2 device connected?
  243. # on Linux/OSX use names like "/dev/ttyUSB1"
  244. # on Windows use names like "COM1"
  245. #tpm2.device=/dev/ttyS1
  246. tpm2.device=/dev/tty.usbmodem1061
  247. tpm2.baudrate=115200
  248. #=========================
  249. #settings for tpm2.net device
  250. #do NOT FORGET to define the output resolution above!
  251. #=========================
  252. #tpm2net.ip=192.168.111.25
  253. #define layout, valid options:
  254. # NO_ROTATE (default),
  255. # ROTATE_90,
  256. # ROTATE_90_FLIPPEDY,
  257. # ROTATE_180,
  258. # ROTATE_180_FLIPPEDY,
  259. # ROTATE_270
  260. #HINT: you define how many Tpm2Net panels are in use, in this example we use four panels.
  261. #tpm2net.layout.row1=NO_ROTATE,NO_ROTATE
  262. #tpm2net.layout.row2=NO_ROTATE,NO_ROTATE
  263. #=========================
  264. #settings for miniDmx (like the SEDU board)
  265. #do NOT FORGET to define the output resolution above!
  266. #=========================
  267. #minidmx.baudrate=115200
  268. #EOF