Open
Description
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.
import drivers
display = drivers.LcdSimulator()
cc = drivers.CustomCharactersSimulator(display)
# Then the rest of your finest feats
Demo