You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Describe the issue
I often code away from home and I don't necessarily have an LCD screen with me... So I created a 16x2 LCD screen simulator using Tkinter, allowing for easy testing and visualization of LCD displays without physical hardware. This simulator helps in developing and debugging LCD-based projects directly from a computer.
Especially if you don't have your Raspberry and LCD with you.
All you have to do is replace Lcd() and CustomCharacters() with LcdSimulator() and CustomCharactersSimulator(). I've recoded all the (hopefully) useful functions for simulation purposes and kept their names.
I've modified __init__.py to also load drivers/simulator.py which contains everything needed for the emulator.
importdriversdisplay=drivers.LcdSimulator()
cc=drivers.CustomCharactersSimulator(display)
# Then the rest of your finest feats
thanks, @Jumitti . please go ahead and submit a PR to include your demo. in addition to the source code, edit the README.md to document the details as well, per the other examples, and add a mention to this issue (#78) to automatically close it after the PR gets reviewed and approved.
Describe the issue
I often code away from home and I don't necessarily have an LCD screen with me... So I created a 16x2 LCD screen simulator using Tkinter, allowing for easy testing and visualization of LCD displays without physical hardware. This simulator helps in developing and debugging LCD-based projects directly from a computer.
Especially if you don't have your Raspberry and LCD with you.
All you have to do is replace
Lcd()
andCustomCharacters()
withLcdSimulator()
andCustomCharactersSimulator()
. I've recoded all the (hopefully) useful functions for simulation purposes and kept their names.I've modified
__init__.py
to also loaddrivers/simulator.py
which contains everything needed for the emulator.Demo
The text was updated successfully, but these errors were encountered: