Skip to content

Commit

Permalink
Update layers.md
Browse files Browse the repository at this point in the history
  • Loading branch information
xs5871 authored Oct 14, 2024
1 parent 5514117 commit 0dd9ff1
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions docs/en/layers.md
Original file line number Diff line number Diff line change
Expand Up @@ -101,6 +101,8 @@ class LayerRGB(RGB):
self.set_hsv_fill(43, self.sat_default, self.val_default) # yellow
elif layer == 4:
self.set_hsv_fill(0, 0, self.val_default) # white
# update the LEDs manually if no animation is active:
self.show()


rgb = LayerRGB(pixel_pin=board.GP16, # GPIO pin of the status LED, or background RGB light
Expand Down

0 comments on commit 0dd9ff1

Please sign in to comment.