MartinNohr / MagicImageWand

Paints Images in the Air with LEDs
Apache License 2.0
20 stars 6 forks source link

No Function of the frame sensor #46

Closed ThomasKlee64 closed 2 years ago

ThomasKlee64 commented 2 years ago

@Hello Martin,

I tried to test the function of the frame sensor input, unfortunately without success. In the program code the input pin is "22" but in the schematic it is "32". What is correct now. I have changed the 22 to 32 in the program, but there is no reaction when the input is connected to GND. Can you help me here?

MartinNohr commented 2 years ago

I haven't tested that in over a year. It did work at some point in the past. I'll look into and see what happened. Thanks for letting me know.

MartinNohr commented 2 years ago

The correct value for the GPIO is 32. Did you set "Frame Counter:" in the menus to something other than 0? The 0 value means to ignore. It is the number of pulses required to advance one frame. I changed the code to use GPIO 32, thanks for catching that one.

MartinNohr commented 2 years ago

I believe this works now so I'll close this issue. Just reopen it if it still doesn't work for you.