Hello Benedikt, Thanks for the PD!
One thing I've always wanted to do was to show images in PV that correspond with PD output - in other words, PD annotations in image form. This PD would be a great opportunity to work on this feature because the output of the device that the PD simulates is inherently graphical. Would you be interested in working on such a feature with us? What I have in mind is something very similar to https://eleif.net/HD44780.html - anytime your PD's DisplaySimulator changes the output string, it could generate such an image, send it out as a new type of annotation and PV could display it in various ways. Image generation could be done using e.g. http://github.com/Solomoriah/gdmodule or http://python-pillow.org, whichever has less dependencies and is easier to integrate into the MXE build for Windows. -Soeren On Sat, 2019-11-23 at 12:08 +0100, Benedikt Otto wrote: > Hi, > > > under https://github.com/BenediktO/libsigrokdecode.git > > I uploaded the HD44780 decoder I am developing under the branch > add_hd44780. > > I hope that I made less errors than with the 7-segment decoder. > > The decoder supports LCDs with the common configurations from 1x8 to > 4x20. On top it supports both possible charsets, for some (japanese) > characters i was not able to find a unicode representation. > > It provides a simulated display that displays the current content of > the > display. > > Note that it supports both 4 and 8 bit mode, but since i only have an > 8 > bit logic analyzer, I was not able to really test the 8bit mode. > > Custom characters are displayed as "CC%d" with %d in range(0, 8). > > In the sigrok-dumps repository are already some example files, that i > generated with an Arduino and various displays. The Arduino sketches > are > based on the example Sketches of the LiquidCrystal library. I could > verify that the displayed output is exactly the same as the predicted > output of the decoder. > > Except for the (rarely used) read command of the display all commands > are supported and tested. > > > Best regards, > > Benedikt > > > > _______________________________________________ > sigrok-devel mailing list > sigrok-devel@lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/sigrok-devel _______________________________________________ sigrok-devel mailing list sigrok-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/sigrok-devel