- ....
OTFs have to be converted to TTF first.
see: https://convertio.co/otf-ttf/
Use the official web-based converter: https://lvgl.io/tools/fontconverter
- Bpp:
I am the volunteer Lead Dev for SeedSigner. We are NOT a company. The FOSS project makes no profit whatsoever from our work.
Your support to help fund my open-source dev work would be hugely appreciated!
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| def start(self): | |
| """Displays a screensaver until user presses a button or touch""" | |
| anim_frame = 0 | |
| initial_offset = (TOTAL_LINES - len(SPLASH)) // 2 | |
| fg_color = theme.fg_color | |
| bg_color = theme.bg_color | |
| self.ctx.display.clear() | |
| button_press = None | |
| min_distance = 5 # fixed chars or rows |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| """ | |
| Copy-paste of various mods to the ST7789 driver to facilitate testing. | |
| """ | |
| # Gamma curve constants for ST7789 display | |
| # Each tuple contains (positive_gamma_values, negative_gamma_values) | |
| GAMMA_CURVES = [ | |
| # Original SeedSigner gamma curve for the Waveshare display hat | |
| ( | |
| [0xD0, 0x04, 0x0D, 0x11, 0x13, 0x2B, 0x3F, 0x54, 0x4C, 0x18, 0x0D, 0x0B, 0x1F, 0x23], |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| """ | |
| Bitcoin Power Law: | |
| 1.0117e-17 * (days since genesis block)^5.82 | |
| Bitcoin Power Law Floor: | |
| (power law) * 0.42 | |
| Note: Model projections said to be invalid beyond 2040. | |
| """ | |
| import argparse |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| #!/bin/bash | |
| # Requires: apt install time | |
| export APP_REPO = https://github.com/kdmukai/seedsigner.git | |
| export APP_BRANCH = 0.8.6 | |
| touch results.txt | |
| for device in pi0 pi02w pi2 pi4 | |
| do | |
| ccache -d /root/.buildroot-ccache --zero-stats |
TODO:
- Test basic
lvgl_micropythoncompilation for esp32s3. - Begin incorporating SeedSigner-styled UI elements from: https://github.com/kdmukai/seedsigner-micropython
- Test to what extent lvgl touch integration comes along "for free".
- Basic pure MicroPython camera driver / bindings tests.
- Integration with lvgl overlay.
Only works on linux. I've repeatedly tried to find a sequence that works on macOS but haven't had any success.
This script will remove empty space from the backup img which ensures that you'll be able to write the img back out to an SD card that's the same size as the source SD card.
git clone https://github.com/Drewsif/PiShrink.gitNewerOlder