prn_led.cfg 1.6 KB

1234567891011121314151617181920212223242526272829303132333435363738394041
  1. #[led my_led]
  2. #red_pin:
  3. #green_pin:
  4. #blue_pin:
  5. #white_pin:
  6. # The pin controlling the given LED color. At least one of the above
  7. # parameters must be provided.
  8. #cycle_time: 0.010
  9. # The amount of time (in seconds) per PWM cycle. It is recommended
  10. # this be 10 milliseconds or greater when using software based PWM.
  11. # The default is 0.010 seconds.
  12. #hardware_pwm: False
  13. # Enable this to use hardware PWM instead of software PWM. When
  14. # using hardware PWM the actual cycle time is constrained by the
  15. # implementation and may be significantly different than the
  16. # requested cycle_time. The default is False.
  17. #initial_RED: 0.0
  18. #initial_GREEN: 0.0
  19. #initial_BLUE: 0.0
  20. #initial_WHITE: 0.0
  21. # Sets the initial LED color. Each value should be between 0.0 and
  22. # 1.0. The default for each color is 0.
  23. [neopixel ambient_light] # Neopixel (aka WS2812) LED support
  24. pin: PB0 #
  25. # The pin connected to the neopixel. This parameter must be
  26. # provided.
  27. #chain_count: 144
  28. chain_count: 60
  29. # The number of Neopixel chips that are "daisy chained" to the
  30. # provided pin. The default is 1 (which indicates only a single
  31. # Neopixel is connected to the pin).
  32. color_order: GRB
  33. # Set the pixel order required by the LED hardware (using a string
  34. # containing the letters R, G, B, W with W optional). Alternatively,
  35. # this may be a comma separated list of pixel orders - one for each
  36. # LED in the chain. The default is GRB.
  37. initial_RED: 0.0
  38. initial_GREEN: 0.0
  39. initial_BLUE: 0.0