Announcement

Collapse
No announcement yet.

Using a value to change LED color

Collapse
X
 
  • Filter
  • Time
  • Show
Clear All
new posts

    Using a value to change LED color

    I am having a problem using a value (status) of an object to update the color of a switch LED. The value that I am working with the the salt level in my pool, appears to be a solid integer.

    I want the following:
    • LED to be blue if the salt level is high ( > 3500)
    • LED to be yellow if the salt level is low (3100 - 3300)
    • LED to be green if the salt level is good (3300 - 3500)
    • LED to be red if salt needs to be added ( < 3100)

    What is wrong with my event logic?

    Thanks!







    Attached Files
Working...
X