GV

GeezerVison

The World Wide Web, restored to 800 pixels of glory.

Home|About|Gaming cabinet|Archives|How it works|Starter sites

On this site

  • Sign in
  • ActionsCI/CD and automation
  • CodespacesCloud development environments
  • All Features
  • Documentation
  • Training
  • Certifications
  • Build with Copilot
  • Customize Copilot
  • Integrations
  • Trending repos
  • GitHub Sponsors
  • Developer articles
  • Enterprises

This view

  • Original page
  • New address

GeezerVison is showing github.com — GitHub - dhargopala/pico-custom-font

BranchesTags
Open more actions menu

Latest commit

 

History

4 Commits
4 Commits

Folders and files

NameName
Last commit message
Last commit date
README.md
README.md
 
 
example.py
example.py
 
 
fonts.jpg
fonts.jpg
 
 
lcd_lib.py
lcd_lib.py
 
 

Repository files navigation

pico-custom-font

Rasberry Pi Pico uses framebuf library for most graphical methods, one such method is text, which draws text on the LCD/OLED display. However, as per their official documentation, framebuf library only supports 8x8 pixel fonts, which are very small .

In order display font sizes of different resolutions such as, 16x16, 32x32 and so on, a new method named write_text has been created in the LCD_1inch3 class present inside the lcd_lib.py file.

The usage of this method has been demonstrated in example.py.

NOTE: This method has only been tested on Waveshare 1.3" LCD Hat, however since most OLED and LCD panels use frambuf as their base class, this method should work with them aswell.

About

No description, website, or topics provided.

Resources

Readme
Activity

Stars

22 stars

Watchers

1 watching

Forks

1 fork
Report repository

Releases

Packages

Contributors

Languages

You are visitor 01402792 — GeezerVison does not store the pages you look up.
Best viewed with Netscape Navigator 4.7 or Internet Explorer 6 at 800×600. No cookies required.