Skip to content

Added support for Pimoroni Display Hat Mini#1113

Open
makerph wants to merge 14 commits into
evilsocket:masterfrom
do-ki:master
Open

Added support for Pimoroni Display Hat Mini#1113
makerph wants to merge 14 commits into
evilsocket:masterfrom
do-ki:master

Conversation

@makerph
Copy link
Copy Markdown

@makerph makerph commented Aug 12, 2022

Description

Added support for Pimoroni Display Hat Mini

  • 2.0” 320x240 pixel IPS LCD screen, connected via SPI (~220 PPI, 65K colours)

    image

A8DE980D-1F6F-4066-AA80-D0A24DD75388

Motivation and Context

I wanted to have a large display with larger resolution in phat format. There are existing LCD Hat support but text is too small for my old eyes.

  • I have raised an issue to propose this change (required)

How Has This Been Tested?

Tested this on Raspberry Pi Zero W with fresh 1.5.5 Image

Types of changes

  • Bug fix (non-breaking change which fixes an issue)
  • New feature (non-breaking change which adds functionality)
  • Breaking change (fix or feature that would cause existing functionality to change)

Checklist:

  • My code follows the code style of this project.
  • My change requires a change to the documentation.
  • I have updated the documentation accordingly.
  • I've read the CONTRIBUTION guide
  • I have signed-off my commits with git commit -s

do-ki added 13 commits August 11, 2022 10:49
Add Pimoroni Display Hat support
Add Pimoroni Display Hat Support
add pimoroni display hat mini support
Add Pimoroni Display Hat Mini Support
Add Pimoroni Hat Support
fix class error
change screen width, height and rotation
fix: added backlight pin
fix: added backlight pin
fix missing lines
change spi speed
update logging info message
@DizHell
Copy link
Copy Markdown

DizHell commented Feb 7, 2024

Merci @do-ki Testé ce jour et c'est fonctionnel.

Thanks @do-ki Tested today and it's functional.
image

- Fixed self.skip += np_file to self.skip.append(np_file)
- Replaced unused _append_saved() with in-use logic
- Made .net_pos_saved file path configurable
- Updated API_URL to use the Google Geolocation API
- Cleaned up logging and removed unused code
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.

3 participants