first I look around tring to find a code I can use to do my project but I dont have enough coding to do it
I need your help to do a little program to control a ws2812b digital led strip with two signal
I will try to explain it the best I can
this is a scale to measure parts
input 1: material in place
input 2: Pluse counter with preset (ie: sprocket with a sensor)
1 led = 1 inch.
- All led red on the strip at startup.
- If input 1 is held high(part on the table) and input 2 is pressed (ie: 5 time in arrow) then the first led turn green .
- If the input 2 preset is reached again then an other green led turn on, if not (no part is Under the input 1 sensor) then led turn red and the previous green(s) leds forward to the next led(s) till it reach the and of the strip.
If someone Have an exemple that I can use it will be apreciated