Coder Social home page Coder Social logo

Comments (6)

maxint-rd avatar maxint-rd commented on May 25, 2024

Hello, part of the library is an extension of the Adafruit GFX library. As such it requires you to first install the Adafruit GFX library. See here for more info. I think you can find the Adafruit GFX library in the Arduino IDE library manager.

If the most recent version isn't compatible anymore, please try an earlier version. I've uploaded one version here to support my mxUnifiedIO library for the nokia display.

from tm16xx.

PJLC avatar PJLC commented on May 25, 2024

Thank you for your quick reply and information.
I did install Adafruit's GFX library. The Keyboard functions work perfectly and those are very good. Until now I couldn't figure out why the keyboard works so good and the display show very strange characters...
Using other TM1638 libraries like @gavinlyonsrepo's gavinlyonsrepo makes the display working fine though.
https://github.com/gavinlyonsrepo/TM1638plus

from tm16xx.

maxint-rd avatar maxint-rd commented on May 25, 2024

Hello PJLC, thank you for your swift reply. Good to read that the buttons work fine. As I understand you now succesfully compiled, but you see strange characters when using my library.

Thank you also for pointing me to Gavin's library. As Gavin also notes, there are different modules available. Can you tell me if you are using a module or the bare chip? If it's a module, which module are you using? Gavin has some pictures on his github where he names them model 1 and model 2 and also mentions modules with switched nibbles.

It's very wel possible that your module has different connected LED segments than the ones I've tested with. Note that if you are using the QYF-TM1638 module, you need to include TM1638QYF.h instead of TM1638.h. There is also a TM1638 module with inverted positions, for which InvertedTM1638.h needs to be used. If you use any of those, you need to use classname TM1638QYF or InvertedTM1638 respectively.

I had a brief look at Gavin's library. If it works for you, then feel free to keep using it. My library has a different setup to support different chips of the TM16xx family. Additionally I included some other features such as support for the Arduino print() function. In the readme you can find more about the different features.

Hopefully this helps. Good luck!

from tm16xx.

PJLC avatar PJLC commented on May 25, 2024

Hello maxint-rd,

Thank you for your kind and good support.

I'm using a QYF-TM1638 module model 2 for testing before moving to a new PCB board and yes I'm aware about the different module versions on the market therefore I have checked with different libraries to check for differences and I think the module I have does not have the switched nibbles because I've checked with Gavin's library.

You have pointed out some details that I might missed. I will have a better look.

I will keep on trying also using your latest input. Hopefully I will find the issue of this board ;)
Thanks!

from tm16xx.

maxint-rd avatar maxint-rd commented on May 25, 2024

Hello PJLC, thank you for responfing and for giving more details.

I have a similar QYF-TM1638 module available for testing, so if there's anything wrong with my library I may be able to reproduce your issues and fix them. (BTW: that module has some interesting wiring of the buttons, but I did get it working).

Good luck with your continued testing. I appreciate if you could let me know your findings.

from tm16xx.

maxint-rd avatar maxint-rd commented on May 25, 2024

FYI: today I published a fix for some exception that appeared when running the TM1638QYF driver. If your display is showing the characters in mirror image, your module may have different wiring. In that case you could try the TM1638Anode class, which is also for common anode TM1638 displays, but, shows the digits differently. Sometime in the future, I may choose to integrate the three different TM1638 classes in this library and add configuration options to support the various display variants.

For now I'll close this issue as the remaining issue is already submitted here.

from tm16xx.

Related Issues (20)

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.