hpwit / I2SClocklessVirtualLedDriver

MIT License
28 stars 4 forks source link

Can I use only 74HC595(s) instead of 74HC245 with 74HC595(s)? #17

Closed szf2020 closed 2 months ago

szf2020 commented 5 months ago

Thank you for your excellent library!

Can I use only 74HC595(s) instead of 74HC245 with 74HC595(s)?

Like https://github.com/Simsso/ShiftRegister74HC595

Is there an example?

hpwit commented 5 months ago

Hello, Here the hc245 so not here to help drive the shift registers, but induces also a slight delay in the clock and latch signal that gives more stability to the output data signal from the shift registers. Have you already built the circuit and tried it ? Rgds Yves

szf2020 commented 5 months ago

Thank you for your reply. I have made a PCB with 3 cascaded 74HC595. I will try it. I will provide feedback once there are results.

hpwit commented 5 months ago

Hello If you try to use this driver with 3 cascades hc595 it will not work. Can you give me more context about what you are trying to achieve ?

szf2020 commented 5 months ago

I2SClocklessLedDriver is more suitable for me, but there are not enough GPIOs on the PCB.

There are 8 * 3 parallel output pins on the PCB. Each pin can be connected to 1 pcs WS2812b led strips.

Just like I2SClocklessLedDriver . _FasLED.addLeds<PIN1,ORDER>(leds1,number_of_leds1);_