Update WS2812B with .flipcorg data

This commit is contained in:
Derek Jamison 2023-11-25 18:30:52 -06:00
parent 04480cbbe3
commit 2739089114
10 changed files with 27 additions and 3 deletions

View File

@ -0,0 +1,23 @@
# WS2812B LED Tester
This application is used to test WS2812B LEDs. You can connect the WS2812B LEDs to any available GPIO pin. If you are powering the LEDs using the Flipper Zero, be sure to consider the power requirements of the LEDs. The 3V3 pin has a 1200mA max current (~4 watts). 5V pin has a 1000mA max current (5 watts).
Please let me know any feedback!
- Discord - https://discord.com/invite/NsjCvqwPAd (@CodeAllNight)
- YouTube - https://youtube.com/@MrDerekJamison/playlists
- GitHub - https://github.com/jamisonderek/flipper-zero-tutorials
- Wiki - https://github.com/jamisonderek/flipper-zero-tutorials/wiki
# Overview
This application has three submenu items:
* Test WS2812B
* About
# Test WS2812B
- LED Pin : Select the GPIO pin that the WS2812B LED data wire is connected to.
- LED Count : select the total number of LEDs in the chain.
- LED Pattern : select the pattern to display on the LEDs.
- LED Brightness : Select the brightness of the LEDs. The brighter the LEDs, the more power they will consume.
- Enable +5V pin : Select "Yes" if you are using pin 1 to power the LEDs (note, there is a 1000mA max current on this pin).
# About
The "About" menu item contains information about the application.

Binary file not shown.

After

Width:  |  Height:  |  Size: 2.3 MiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 1.4 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 1.9 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 2.0 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 2.1 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 2.1 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 2.0 KiB

View File

@ -9,8 +9,6 @@
#include "led_driver.h"
#include "ws2812b_tester_app_icons.h"
#define TAG "WS2812B-Tester"
// Our application menu has 2 items.
@ -486,7 +484,7 @@ static LedTesterApp* led_tester_app_alloc() {
0,
128,
64,
"This is a WS2812B LED tester\n\nConnect WS2812B LED data\nwire to GPIO pin on Flipper.\n\nThe 3V3 pin has a 1200mA\nmax current (~4 watts). The\n5V pin has a 1000mA max\ncurrent (5 watts).\n\nauthors: @codeallnight and\nZ3BRO!\n\nhttps://discord.com/invite/NsjCvqwPAd\nhttps://youtube.com/@MrDerekJamison");
"This is a WS2812B LED tester\n\nConnect WS2812B LED data\nwire to GPIO pin on Flipper.\n\nThe 3V3 pin has a 1200mA\nmax current (~4 watts). The\n5V pin has a 1000mA max\ncurrent (5 watts).\n\nauthors: @codeallnight and\nZ3BRO!\n\nhttps://discord.com/invite/NsjCvqwPAd\nhttps://youtube.com/@MrDerekJamison\n\n");
view_set_previous_callback(
widget_get_view(app->widget_about), led_tester_navigation_submenu_callback);
view_dispatcher_add_view(

View File

@ -3,6 +3,7 @@ App(
name="WS2812B LED Tester App",
apptype=FlipperAppType.EXTERNAL,
entry_point="ws2812b_led_tester_app",
fap_version=(1, 2),
stack_size=4 * 1024,
requires=[
"gui",
@ -10,5 +11,7 @@ App(
order=10,
fap_icon="app.png",
fap_category="GPIO",
fap_author="jamisonderek",
fap_description="WS2812B LED Tester App. This is intended to test that WS2812B LEDs are functioning correctly.",
fap_weburl="https://github.com/jamisonderek/flipper-zero-tutorials/tree/main/gpio/ws2812b_tester",
)