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

Add feature: Support for two new display modes. #102

Open
wants to merge 1 commit into
base: main
Choose a base branch
from

Conversation

ardiesan
Copy link

@ardiesan ardiesan commented Feb 19, 2025

Add feature: Support for two new display modes.
Two New Display Option:

Approach:

  • Dumb display through framebuffer copy
  • 3.5" RPi Display is not an EPD, so, didn't add/adjust too much code which may not be used in the future. Add basics only.
  • Simple pass for methods which might be used.

Others:

  • Added custom check for lcd35 display, and install the frambuffer imageviewer (fbi) dependency accordingly.
  • Added method to calculate x-pos for left position for any image.
  • Adjusted right border for frise and added thick line based on height of frise, this is so that image generated is centered or symmetrical.
  • Image generation width adjusted to 3:4 aspect ratio, but did not use LCD35 resolution to not consume more memory. small image, small memory consumption.

@SgtStarSlayer
Copy link

SgtStarSlayer commented Feb 22, 2025

error

The piwheel is the issue.

@ardiesan
Copy link
Author

ardiesan commented Feb 22, 2025

The piwheel is the issue.

Good day @SgtStarSlayer!

This is not an issue directly related to the changes made. From time-to-time, dependency install will hit a snag due to items not under control or related to the code. You will see this several times in the issues submitted for this github repo.

You can simply choose retry from the option presented, or if you have exited of that, you can run sudo ./install_bjorn.sh again choosing the full installation until everything completes - usually a reboot is required when everything completes.

Two New Display Option:
* lcd35 - Using framebuffer copy (fbcp service) for the LCD35-show (3.5" RPi Display) from https://github.com/goodtft/LCD-show
* browser_only - For browser only access

Approach:

* Dumb display through framebuffer copy
* 3.5" RPi Display is not an EPD, so, didn't add/adjust too much code which may not be used in the future. Add basics only.
* Simple `pass` for methods which might be used.

Others:
* Added custom check for lcd35 display, and install the frambuffer imageviewer (fbi) dependency accordingly.
* Added method to calculate x-pos for left position for any image.
* Adjusted right border for frise and added thick line based on height of frise, this is so that image generated is centered or symmetrical.
* Image generation width adjusted to 3:4 aspect ratio, but did not use LCD35 resolution to not consume more memory. small image, small memory consumption.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants