Comments (6)
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.
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.
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.
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.
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.
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)
- TM1624 HOT 1
- error: '_BV' was not declared in this scope HOT 3
- TM16xx without leading zeros issue
- Redefine Pins HOT 1
- Redback 7-segment led and button module with TM1652 HOT 4
- Add pinMode() to sendData() and getButtons() HOT 1
- Example for TM1640 with common anode 8x8 bicolor led matrix? HOT 17
- TM1650 Arduino library for 2 x 7 led display HOT 7
- regarding interfacing of tm1640 HOT 12
- Can I act _as_ a TM1651? HOT 4
- Problem while using this library with ESP32 HOT 3
- Hello Any help on TM1621 HOT 2
- how we can use 4 segment with dot HOT 1
- Another TM1652 device HOT 2
- Halt when useing RP2040 with TM1652 HOT 2
- TM16xxDisplay.cpp bug HOT 1
- Request: Flip 8x8 matrix HOT 18
- Monitoring TM1628 HOT 6
- How do you control the TM1638 discrete LEDS? HOT 2
- Button numbering question for TM1638 LED&KEY module (8 LEDS, 8 digits, 8 Buttons)? HOT 2
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from tm16xx.