hyperion-project / hyperion.ng

The successor to Hyperion aka Hyperion Next Generation
https://hyperion-project.org/
MIT License
3.05k stars 377 forks source link

Implement ftdi led device - 2 #1746

Closed Lord-Grey closed 4 months ago

Lord-Grey commented 4 months ago

Summary

This PR reflects @nurikk / @nurikk-sa ftdi development without the jointup of the SPI and ftdi device code (see #1595).

The PR introduces ftdilib1 led device implementation. FTDI chips are common usb2serial/spi/whatever chips, and are available for 5-10$ from Chinese website as various breakout boards.

Screenshot 2023-02-25 at 21 52 19

My wiring is following:

FTDI  |  APA102 
AD0 -> CLOCK
AD1 -> DATA

AD3 -> CS (active low) // can be used to drive logic shifter OE pins

FTDI  |  WS2812 or SK6812
AD1 -> DATA

AD3 -> CS (active low) // can be used to drive logic shifter OE pins

What kind of change does this PR introduce? (check at least one)

If changing the UI of web configuration, please provide the before/after screenshot:

Does this PR introduce a breaking change? (check one)

If yes, please describe the impact and migration path for existing setups:

The PR fulfills these requirements:

If adding a new feature, the PR's description includes:

PLEASE DON'T FORGET TO ADD YOUR CHANGES TO CHANGELOG.MD

To avoid wasting your time, it's best to open a feature request issue first and wait for approval before working on it.

Other information:

nurikk commented 4 months ago

Terrific! I'm glad that this will get to upstream! 👍

Lord-Grey commented 4 months ago

@nurikk Please have a look, if you would like to add something. Otherwise, I will merge with the master.