MartinNohr / MagicImageWand

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

image preview option glitch #49

Closed DaveStu closed 2 years ago

DaveStu commented 2 years ago

I've just flashed v2.03 and the option to scroll and preview images has started to glitch for me. In the previous version (v2.02 I believe) worked perfectly.

When I scroll to preview next image, it flashes and reverts back to previous one.

Btw, this feature is really smart. The features and tweaks just keep getting better and better.

MartinNohr commented 2 years ago

Try 2.09. There were some problems I fixed.

DaveStu commented 2 years ago

Ok, will try it next. Just waiting for a SDCARD board, as I've damaged the pads on my first one and cannot find any traces to connect to.

DaveStu commented 2 years ago

Well new SDCARD board arrived, connected it up and all was well with the prevous code. Tried to then flash your latest code and the TTGO says "ESP is not in flash boot mode" with ESP home flasher, all the while the screen flashes white continously. Unplugging takes me back to your previous code v2.03 I've tried different cables checking connections for any shorts, now I'm stuck. I'm sure its a driver issue, so tried to clear them but to no avail. Frustration doesnt't even describe things.

Update## After scouring the internet for various solutions, I found nothing that worked.

The one last resort was to completely desolder the ttgo board and remove, lo-behold, It then became flashable again. I then started to re-solder down the board attaching one component at a time. Once I attached the Bi-Directional Logic Level Converter, the original problem came back. I tried different in/out pins but the converter still caused a problem. I assume it has shorted or something. I don't think I needed the line level converter anyway, It was just for assurance.

I've tried your latest code, the dial is less jumpy, but when I'm scolling to preview images, it still glitches though somewhat less.

DaveStu commented 2 years ago

Version 2.21 is a night and day difference in dial interaction, I find it glitch free and wonderfully responsive. Kudos to the effort Martin.

MartinNohr commented 2 years ago

It took me all day but I finally got the dial working right! Time well spent though, it's a delight to use now. Glad it's working for you too.

DaveStu commented 2 years ago

I see, glad no one asked me to code it then...eternity. It's definately a delight to use. It's great for all.

MartinNohr commented 2 years ago

Dealing with mechanical switches that bounce is always fun! I should have debounced it in hardware on my PCB, but that also would have meant more parts for the hand-built people, so I decided it was 'easy' to fix in software. :-)

MartinNohr commented 2 years ago

I'll close this one, it seems to be working very well now.