Skip to content

Commit

Permalink
correct this
Browse files Browse the repository at this point in the history
  • Loading branch information
CamDavidsonPilon committed Jul 3, 2024
1 parent f96bf3d commit 17ec565
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion 34_dynamic_led_adjustment_based_on_od.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@ common:
actions:
- type: update
hours_elapsed: 0.0
if: ${::od_reading:od1.od > 1.0} # Adjust this threshold as needed
if: ${{::od_reading:od1.od > 1.0}} # Adjust this threshold as needed
options:
# Dynamically adjust the LED intensity based on OD reading; modify formula as needed
B: ${{::leds:intensity.B + (::od_reading:od1.od - 1) * 10}}
Expand Down

0 comments on commit 17ec565

Please sign in to comment.