Skip to content

Commit

Permalink
Merge branch 'main' of https://github.com/Blueforcer/awtrix3
Browse files Browse the repository at this point in the history
  • Loading branch information
Blueforcer committed Jan 4, 2025
2 parents fdf656d + a29b514 commit 3d0aab1
Show file tree
Hide file tree
Showing 6 changed files with 19 additions and 8 deletions.
6 changes: 3 additions & 3 deletions Helper_Scripts/screenmirror.py
Original file line number Diff line number Diff line change
Expand Up @@ -15,8 +15,8 @@ def __init__(self, root, ip_address):
self.labels = []

screen_width = root.winfo_screenwidth()
label_width = (screen_width // 32) // 2
label_height = label_width
label_width = (screen_width // self.width) // 2
label_height = label_width # 1:1 Verhältnis (ratio)
padding = 1
top_margin = 0

Expand Down Expand Up @@ -82,4 +82,4 @@ def capture_image(self):
root.resizable(False, False)
ip_address = simpledialog.askstring("AWTRIX 3", "Please enter IP address:")
app = LedScreenApp(root, ip_address)
root.mainloop()
root.mainloop()
7 changes: 4 additions & 3 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -112,10 +112,11 @@ Youtube videos from some awesome creators to get a quick first look.
# Support
If you want to support my work, I really appreciate your donation!
All the money will be allocated towards purchasing new hardware for testing purposes, software licenses, server costs, and a significant portion will also be set aside for dinners and trips with my wife and kids so that they can continue to endure the many hours I spend programming :)

https://github.com/sponsors/Blueforcer

https://www.paypal.me/blueforcer
https://github.com/sponsors/Blueforcer
https://www.buymeacoffee.com/blueforcer
https://www.paypal.me/blueforcer


# Contributors
<a href="https://github.com/Blueforcer/awtrix3/graphs/contributors">
Expand Down
Binary file added docs/assets/Fade.gif
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
8 changes: 7 additions & 1 deletion docs/effects.md
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ AWTRIX 3 can show effects wherever you want

Just call the name for your favorite effect.
AWTRIX sends all effect names once after start via MQTT to stats/effects. So you can create external selectors.
Its also accessible via HTTTP /api/effects
Its also accessible via HTTP /api/effects

<table>
<tr>
Expand Down Expand Up @@ -70,6 +70,12 @@ Its also accessible via HTTTP /api/effects
<td>MovingLine</td>
<td><img src="https://raw.githubusercontent.com/Blueforcer/awtrix3/main/docs/assets/MovingLine.gif" style="max-height:100px;"></td>
</tr>
<tr>
<td>Fade</td>
<td><img src="https://raw.githubusercontent.com/Blueforcer/awtrix3/main/docs/assets/Fade.gif" style="max-height:100px;"></td>
<td>&nbsp</td>
<td>&nbsp</td>
</tr>
</table>


Expand Down
1 change: 1 addition & 0 deletions src/PeripheryManager.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -320,6 +320,7 @@ const char *PeripheryManager_::playRTTTLString(String rtttl)
melodyName[sizeof(melodyName) - 1] = '\0';
return melodyName;
}
return nullptr; // RTTTL not supported with DFPlayer
}

const char *PeripheryManager_::playFromFile(String file)
Expand Down
5 changes: 4 additions & 1 deletion src/effects.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -1291,10 +1291,13 @@ void EffectOverlay(FastLED_NeoMatrix *matrix, int16_t x, int16_t y, OverlayEffec
// Turn off the pixel after MAX_COLOR_CHANGES changes
if (colorChanges[i][j] > 6)
{
leds[i][j] = CRGB::Black;
colorChanges[i][j] = 0; // Reset the counter for this pixel
}
}
if (colorChanges[i][j] == 0)
{
leds[i][j] = CRGB::Black;
}
}
}

Expand Down

0 comments on commit 3d0aab1

Please sign in to comment.