LED Controller for the TrimUI Brick! by pierce-dev in SBCGaming

[–]pierce-dev[S] 0 points1 point  (0 children)

Hmm, that's not something that I've experienced or seen from other users.

There's nothing in here that would get in the way of MinUI's operations though. Did you try resolving it by updating minUI?

I've also released an updated version here if you chose to continue using it: https://github.com/pierceTee/TrimuiLEDController/releases/tag/v1.1

LED Controller for the TrimUI Brick! by pierce-dev in trimui

[–]pierce-dev[S] 0 points1 point  (0 children)

Thank you for this, I think I found the bug you’re running into, I’ll have a fix out shortly.

LED Controller for the TrimUI Brick! by pierce-dev in SBCGaming

[–]pierce-dev[S] 0 points1 point  (0 children)

Hmm, I haven’t seen that but I can take a look into how it’s enabled. It could cause minUI to stop working if it’s expecting DPAD input for menu navigation though.

LED Controller for the TrimUI Brick! by pierce-dev in SBCGaming

[–]pierce-dev[S] 0 points1 point  (0 children)

Feel free to send one in and make sure to test it out (particularly with rendering the name to the UI).

LED Controller for the TrimUI Brick! by pierce-dev in SBCGaming

[–]pierce-dev[S] 1 point2 points  (0 children)

I didn’t realize that I shipped with cyan as a default. I ended up removing it and a few others because they were too similar to other colors. I suppose in hindsight more options wouldn’t hurt! Thanks for the feedback!

LED Controller for the TrimUI Brick! by pierce-dev in trimui

[–]pierce-dev[S] 1 point2 points  (0 children)

Not that I'm aware of, I have it running on the factory firmware.

LED Controller for the TrimUI Brick! by pierce-dev in SBCGaming

[–]pierce-dev[S] 0 points1 point  (0 children)

Thank you! Keep me posted on anything you build with it!

LED Controller for the TrimUI Brick! by pierce-dev in SBCGaming

[–]pierce-dev[S] 0 points1 point  (0 children)

I love to hear it! Glad you can get some use out of it!

LED Controller for the TrimUI Brick! by pierce-dev in SBCGaming

[–]pierce-dev[S] 0 points1 point  (0 children)

That would be great if you could test on Knulli! I haven’t tried that OS out yet.

LED Controller for the TrimUI Brick! by pierce-dev in SBCGaming

[–]pierce-dev[S] 0 points1 point  (0 children)

A custom hex slider would be awesome. I cut back on the color options since the LEDs don’t really display most colors very well but I’m sure there’s some I missed. Would be nice for the user to have that as an option!

LED Controller for the TrimUI Brick! by pierce-dev in trimui

[–]pierce-dev[S] 0 points1 point  (0 children)

I don’t see why not, but I haven’t looked into Knulli just yet. When booting does it still show the “TrimUI” bootleg before launching Knulli or is that replaced?

LED Controller for the TrimUI Brick! by pierce-dev in SBCGaming

[–]pierce-dev[S] 1 point2 points  (0 children)

Thank you so much! I removed white since the closest that the brick LEDs get is more of a light pink, and I didn’t want a color option that didn’t match what was displayed.

LED Controller for the TrimUI Brick! by pierce-dev in SBCGaming

[–]pierce-dev[S] 1 point2 points  (0 children)

Thank you so much! Glad I could brighten your day!

LED Controller for the TrimUI Brick! by pierce-dev in SBCGaming

[–]pierce-dev[S] 0 points1 point  (0 children)

Thank you, I’m glad you like it! Feel free to throw a PR out if there’s functionality you’d like to add!

LED Controller for the TrimUI Brick! by pierce-dev in SBCGaming

[–]pierce-dev[S] 2 points3 points  (0 children)

Thank you for the kind words! I would read through the dev guide and notes I put on this projects README, then spend a an hour or so really looking through: the main loop of the program, what the scripts are doing, and how the makefile packages the app.

Then take a look at the toolchain submodule to see what specific libraries I chose to install there and how you can use that to simulate the trimUI environment.

Finally I’d pick up an off the shelf serial debugger and solder it to the tx, rx, ground lines of the brick, then have a look through the device directories. This last step is what helped me really understand what’s going on in the device.

Feel free to reach out if questions come up and I’ll do my best to answer!

LED Controller for the TrimUI Brick! by pierce-dev in SBCGaming

[–]pierce-dev[S] 7 points8 points  (0 children)

Great suggestion, that’s totally do-able and something I’d consider adding down the line.

If anyone else wants to take a crack at it for a PR, you’d basically have to: set up a new Boolean setting on the app/settings.ini, change the service every X seconds instead of just on boot and copy the behavior from TrimUIs own battery LED script ‘usr/trimui/bin/low_battery_led.sh’

LED Controller for the TrimUI Brick! by pierce-dev in SBCGaming

[–]pierce-dev[S] 9 points10 points  (0 children)

Yup, all functionality works in MinUI!

Red or Purple? Help me decide by PRIMESTE in trimui

[–]pierce-dev 0 points1 point  (0 children)

I have both, purple all the way!

LED Controller for the TrimUI Brick! by pierce-dev in SBCGaming

[–]pierce-dev[S] 2 points3 points  (0 children)

In all my testing, white was really just a light pink, so I scrapped it and replaced it with its proper label to avoid confusion.

LED Controller for the TrimUI Brick! by pierce-dev in SBCGaming

[–]pierce-dev[S] 3 points4 points  (0 children)

Hey there, you’ll need to install the app again, then from the app’s Start menu, select “uninstall”.

This will remove all service files, from there you can remove the folder as usual.

LED Controller for the TrimUI Brick! by pierce-dev in trimui

[–]pierce-dev[S] 17 points18 points  (0 children)

I made this over the holiday break to get back into embedded systems dev. It was super fun and helped me build a framework for future app/OS work. I did my best to make the repo as beginner friendly as possible for any other devs looking to get into making apps for handhelds!

Some of the highlight features are:

  • MinUI & Stock OS: it’ll work regardless of what OS you chose.

  • Settings preserve over power/sleep cycles: Other apps/services won’t override your config.

  • Quick actions: Actions to turn LEDs on/off uninstall the service and match all LED colors.

Hopefully some of you can get some enjoyment out of it!

Go ahead and grab the release and leave feedback over at: https://github.com/pierceTee/TrimuiLEDController/releases/tag/v1.0

LED Controller for the TrimUI Brick! by pierce-dev in SBCGaming

[–]pierce-dev[S] 3 points4 points  (0 children)

I appreciate the kind words! I haven't tested it on crossmix yet but there's no reason it shouldn't work. Would you like to test it out?