Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/tuna-f1sh/zephyros-app-led
ZephyrOS module for App state management of GPIO, PWM or strip LEDs; blinking and sequences
https://github.com/tuna-f1sh/zephyros-app-led
Last synced: 25 days ago
JSON representation
ZephyrOS module for App state management of GPIO, PWM or strip LEDs; blinking and sequences
- Host: GitHub
- URL: https://github.com/tuna-f1sh/zephyros-app-led
- Owner: tuna-f1sh
- License: gpl-3.0
- Created: 2024-06-04T07:26:00.000Z (5 months ago)
- Default Branch: main
- Last Pushed: 2024-06-07T07:43:00.000Z (5 months ago)
- Last Synced: 2024-06-07T08:54:46.459Z (5 months ago)
- Language: C
- Size: 35.2 KB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
An attempt to solve the problem of App LED management that is so often required in projects: blinking, sequences, fading etc. A blinkly LED is the 'hello world' of embedded but within a RTOS if often becomes complex. This library aims to provide a simple and clean way to manage LED's in your project.
Supports LEDs connected to GPIO `CONFIG_GPIO`/`CONFIG_LED`, PWM `CONFIG_PWM`/`CONFIG_LED_PWM` and LED `CONFIG_LED_STRIP` strip drivers.
# Work in Progress
I have ported this from projects into a module in an attempt to make it more generic and reusable. I am currently working on the documentation and testing. I will be adding more features and examples as I go.
## TODO
- [ ] Ability to use GPIO, PWM and LED strip drivers independently but also together with a common API but passed `app_led_data_t` struct for each.
- [ ] KConfig options to control priority, stack size, etc.
- [ ] Example code.
- [ ] `twister` tests.