Jürgen Weigert

Results 256 comments of Jürgen Weigert

A clock: ``` ./led-badge-12x48.py -s8 -m4 +++++ while true; do ./led-badge-12x48.py -s8 -m9 $(date +%H:%M); sleep 60; done

That is a nice one! Yes, as @s-light says, the only 'obstacle' is copyright and licensing. We need to know if you created this yourself, or from where it came,...

> > It took me a while to figure out that it actually needs an image with 48x11 pixel frames, even though my display is 44x11 > > I'd appreciate...

Thanks! I don't have any real instructions how to add more icons, but when you look very closely at the code near https://github.com/jnweiger/led-name-badge-ls32/blob/master/led-badge-11x44.py#L221 you may be able to recognize the...

That needs experimentation. :-) I see there is also https://github.com/jnweiger/led-name-badge-ls32/pull/15 from you. This should enable larger images or longer messages indeed. Did you have the crashes, that motivated https://github.com/jnweiger/led-name-badge-ls32/pull/14 before...

Merged #15 -- before the message limit was 255 characters, now it is 336 characters wehen using hidapi: ``` File "/usr/local/lib/python3.6/dist-packages/pyhidapi/pyhidapi.py", line 641, in hid_write raise RuntimeError('hid_write() failed.') RuntimeError: hid_write()...

![20190719_100311(0)](https://user-images.githubusercontent.com/1108546/61519629-a79e2700-aa0c-11e9-9077-f3d2a04ecbbb.jpg) Now we can start decoding the firmware :-)

@AnnabelleLee1987 this should be solved by #4, merged into master. Please test!

Closing. We assume this case now works well. @AnnabelleLee1987 please reopen if not.

Hmm, does it work when you try with sudo or as root user? Wait, that is odd. that error comes from usb.core -- on mac we should be using pyhidapi...