Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

LCD 16x2 Simulator #78 #78

Open
Jumitti opened this issue Aug 11, 2024 · 1 comment · May be fixed by #79
Open

LCD 16x2 Simulator #78 #78

Jumitti opened this issue Aug 11, 2024 · 1 comment · May be fixed by #79
Assignees
Labels

Comments

@Jumitti
Copy link
Contributor

Jumitti commented Aug 11, 2024

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

@Jumitti Jumitti added the demo label Aug 11, 2024
@cgomesu
Copy link
Collaborator

cgomesu commented Aug 12, 2024

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.

@cgomesu cgomesu self-assigned this Aug 12, 2024
@Jumitti Jumitti changed the title LCD 16x2 Simulator LCD 16x2 Simulator #78 Aug 12, 2024
@Jumitti Jumitti linked a pull request Aug 12, 2024 that will close this issue
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants