All Projects → russhughes → ttgo-hershey-fonts

russhughes / ttgo-hershey-fonts

Licence: MIT License
MicroPython Hershey font demo for the TTGO-LCD board

Programming Languages

python
139335 projects - #7 most used programming language

Projects that are alternatives of or similar to ttgo-hershey-fonts

TP Arduino DigitalRain Anim
A library that represents Digital Rain Animation on color displays that support TFT_eSPI
Stars: ✭ 80 (+263.64%)
Mutual labels:  esp32, ttgo
Low power TTGO T-beam
Low power consumption for TTGO t-beam
Stars: ✭ 45 (+104.55%)
Mutual labels:  esp32, ttgo
ESP-Mail-Client
⚡️Arduino Mail Client Library to send, read and get incoming mail notification for ESP32, ESP8266 and SAMD21 devices. The library also supported other Arduino devices using Clients interfaces e.g. WiFiClient, EthernetClient, and GSMClient.
Stars: ✭ 78 (+254.55%)
Mutual labels:  esp32
micropython-i2s-examples
Examples for I2S support on microcontrollers that run MicroPython
Stars: ✭ 40 (+81.82%)
Mutual labels:  esp32
openocd cmsis-dap v2
支持CMSIS-DAP v2接口协议,支持ARM、RISCV、ESP32等目标芯片,详见Wiki及release
Stars: ✭ 26 (+18.18%)
Mutual labels:  esp32
esp32-hid-joystick
No description or website provided.
Stars: ✭ 59 (+168.18%)
Mutual labels:  esp32
esp-logger
An Arduino library providing a minimal interface to log data on flash memory and SD cards with ESP8266 and ESP32
Stars: ✭ 40 (+81.82%)
Mutual labels:  esp32
RFLink
RFLink for ESP, with MQTT client
Stars: ✭ 52 (+136.36%)
Mutual labels:  esp32
SinricPro Generic
Simple way to control your IOT development boards like ESP8226, ESP32, Arduino SAMD21, Adafruit SAMD21, SAMD51, nRF52, STM32, Teensy, SAM DUE with Amazon Alexa or Google Home
Stars: ✭ 18 (-18.18%)
Mutual labels:  esp32
esp-idf-w25q64
SPI Flash Memory W25Q64 Access Library for esp-idf
Stars: ✭ 12 (-45.45%)
Mutual labels:  esp32
esp32WS2811
Arduino library for ESP32 to drive WS2811 LEDs using the RMT peripheral
Stars: ✭ 22 (+0%)
Mutual labels:  esp32
coffee-scale-app
Firmware and Progressive Web App to connect to a DIY bluetooth enabled coffee and espresso scale.
Stars: ✭ 31 (+40.91%)
Mutual labels:  esp32
esphome-weather-station
ESPHome version of Elektor weather station v2
Stars: ✭ 140 (+536.36%)
Mutual labels:  esp32
esp32-flite
Speech synthesis running on ESP32 based on Flite engine.
Stars: ✭ 28 (+27.27%)
Mutual labels:  esp32
ESP32AudioFramework
Dual core concurrent multi-task processing of continuous real-time audio on the ESP-32
Stars: ✭ 35 (+59.09%)
Mutual labels:  esp32
niji
Generic 2D graphics library for C++14
Stars: ✭ 26 (+18.18%)
Mutual labels:  vector-graphics
NMEA2000WifiGateway-with-ESP32
This repository shows how to build a NMEA2000 WiFi Gateway with voltage and temperature alarms.
Stars: ✭ 38 (+72.73%)
Mutual labels:  esp32
Train plus plus
Repo and code of the IEEE UIC paper: Train++: An Incremental ML Model Training Algorithm to Create Self-Learning IoT Devices
Stars: ✭ 17 (-22.73%)
Mutual labels:  esp32
houseflow
Home automation platform for microcontrollers(including ESP8266/ESP32), Raspberry Pi, and others. Made with Rust and C++.
Stars: ✭ 88 (+300%)
Mutual labels:  esp32
mdk
A bare metal SDK for the ESP32 & ESP32C3
Stars: ✭ 38 (+72.73%)
Mutual labels:  esp32

ttgo-lcd-demo

MicroPython Hershey fonts demo for the TTGO-LCD using the st7789py_mpy driver from https://github.com/devbis/st7789py_mpy


images/ttgo-hershey-fonts.jpg

I pulled this from the oledui module I wrote for my TurtlePlotBot it's not fast but it works and should be easy to modify to run on most any board and display.

File Based Fonts

There are trade-offs between speed and memory use between the two font methods. The file based fonts use less memory but a slower then the memory fonts.

Demo Installation

Copy fhello.py to the MicroPython device then create a /fonts directory and copy all the fnt files from the repos /fonts directory into it. I use mpfshell to copy files.

import fhello to run.

Memory Based Fonts

I used the same method Peter Hinch uses in his GitHub Repo to store the Hershey vector data in a python bytearray. The memory fonts use more memory since the font is loaded into memory for use but they are faster the the file based fonts. Memory use can be reduced by Freezing the bytecode in the firmware.

I'm planning on writing a 'C' version that should be even faster.

Demo Installation

Copy pyhello.py to the MicroPython device the create a /pyfonts directory then copy all the py files in the repos /pyfonts directory to it. I use mpfshell to copy files.

import pyhello to run.

Speed comparison

Video speed comparison of Memory and File based methods using devbis Fast pure-C driver for MicroPython repo.

Note that the project description data, including the texts, logos, images, and/or trademarks, for each open source project belongs to its rightful owner. If you wish to add or remove any projects, please contact us at [email protected].