Coder Social home page Coder Social logo

Comments (3)

savikko avatar savikko commented on May 29, 2024 1

Oh well, I think I was temporarily blind as I did not notice those examples there.

This answers my questions, will try with drawBitmap.

Thank you.

from truetype_arduino.

k-omura avatar k-omura commented on May 29, 2024

Thank for your request.
I would like to help you display it on your e-paper.

I took a look at GxEPD. Can it be used with GxEPD? I understood that it was a request. I saw GxEPD for the first time, so I will answer again after understanding a little^_^
https://github.com/ZinggJM/GxEPD

Try examples/truetypeToSerialTest if you like!
I think you'll get a better understanding of framebuffers!

Thank you.

from truetype_arduino.

k-omura avatar k-omura commented on May 29, 2024

After some research, I found that GxEPD is an extension of Adafruit GFX. That is, the methods of the Adafruit GFX class are available.

Therefore, the solution will use drawBitmap() pasted at the bottom. Replace the FLASH_TO_SCREEN() of the sample code provided by truetype_Arduino (luckily, the sample code can be used as it is for other settings).

I'm not in a situation I can see this right away, but can I try it in @savikko 's environment?

Truetype_Arduino sample code:
https://github.com/k-omura/truetype_Arduino/blob/master/examples/truetypeToSerialTest/truetypeToSerialTest.ino

Bridge to Adafruit GFX:
http://adafruit.github.io/Adafruit-GFX-Library/html/class_adafruit___g_f_x.html#a805a15f1b3ea9eff5d1666b8e6db1c56

from truetype_arduino.

Related Issues (12)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.