Welcome to TM1637TinyDisplay Discussions! #27
Replies: 4 comments 10 replies
-
I have a TM1637 with a colon and 4 decimal dots. I would really like to be able to flip the digits and use the decimal point at the original far right as an AM indicator for a clock. Flipping the display works fine and can even blink the colon. However I've been unable to get any of the decimal dots to display using showNumberDec(). |
Beta Was this translation helpful? Give feedback.
-
i want to make running text display with two tm1637 4 digit module in series. because the text is long enaught so it hard to see it clearly. perhaps you could help me with that. thanks before. |
Beta Was this translation helpful? Give feedback.
-
Hi folks - I was wondering if anyone has an example using the showString_P function? This is my test program: // platformio
#include <Arduino.h>
// 6 digit display:
#include <TM1637TinyDisplay6.h>
// For ATTiny84 dev board, use PA0 as data and PA1 as clock for the display
#define DISP_CLK PIN_PA1
#define DISP_DIO PIN_PA0
#define DISP_BRIGHT 3
TM1637TinyDisplay6 display(DISP_CLK, DISP_DIO);
void setup() {
display.begin();
display.setBrightness(DISP_BRIGHT);
const char msg_P[] PROGMEM = {"ABC123"};
display.showString_P(msg_P);
delay(1000);
const char msg[] = {"DEF890"};
display.showString(msg);
delay(1000);
}
void loop() {
} The result is a bunch of gibberish instead if "ABC123" (looks like it might be diagnostic info?), but the DEF890 displays fine. Any advice greatly appreciated! |
Beta Was this translation helpful? Give feedback.
-
Please forgive me for asking - this might not be the right place - but when I first compile my project in VSS Code/PlatformIO, I get a couple of warnings in the compilation of the TM1637TinyDisplay.cpp. Short version of the warnings is: lib\TM1637TinyDisplay\TM1637TinyDisplay6.cpp:32:0: warning: "labs" redefined lib\TM1637TinyDisplay\TM1637TinyDisplay6.cpp:435:23: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] ( Can post the full text if needed) |
Beta Was this translation helpful? Give feedback.
-
👋 Welcome!
We’re using Discussions as a place to connect with other members of our community. We hope that you:
build together 💪.
Beta Was this translation helpful? Give feedback.
All reactions