TM1637 using all dot ?

Hello,

I posted quikly my question.
After some answer, I added pictures.

Some hours after, I rewrite this first post.


I have 8.8.:8.8. TM1637 display.


It works fine.

I can light this :

arduino_tm1637_I-have

But I hope light only one to several dot, like theese :

and

Only dot, nothing else.

How can I do that ?

Witch library need I use ?

Does I need create my library using :
void TM1637Display::showNumberBaseEx(int8_t base, uint16_t num, uint8_t dots, bool leading_zero, uint8_t length, uint8_t pos) ?

Can you help me ?

Thank you, have a nice day.

PS: Sorry for my poor english.


I hope it is better to understand with pictures than only characters.
I used 8 for any number and @ for blank space.

My TM1637 is top of this picture (not center, not bottom).

I do not understand why same name for different item.


#include <Arduino.h>
#include <TM1637Display.h>

// Module connection pins (Digital Pins)
#define CLK 2
#define DIO 3

TM1637Display display(CLK, DIO);

void setup() {
  display.showNumberDecEx(0, 0b11100000, false, 4, 0);
  while (1);
}

void loop() {}

kolaha.

Thank you for your answer.
It is not good for my question.

I asked I hope light only one to several dot for several possibility and you purpose giving only :

@ @ : @ 0 ( @ is empty)

I want light only one or several dot without anything (no number, no character, no symbol).

This is my TM1637

sometimes only the comma dots or (XOR) the colon are connected.
so in your case it seems to be the colon.

you can test your module by sending 0b11111111 to all six digits, but chances are low.

uint8_t data[] = {0b11111111,0b11111111,0b11111111,0b11111111,0b11111111,0b11111111};
display.setSegments(data, 6, 0);

based on your entry post it seems the colon is on digit 3 and not the dot (which is somehow reasonable because the last number can not display a decimal number any more...)

Thank you noiasca for your answer.
It is not good for my question.

uint8_t data[] = {0b11111111,0b11111111,0b11111111,0b11111111,0b11111111,0b11111111};
display.setSegments(data, 6, 0);

light only this 8 8 : 8 8

In my first post, I wrote :
I can light
8 . 8 8 8
8 8 . 8 8
8 8 8 . 8
8 8 : 8 8
where 8 is 0 to 9 number.

?
really?
not 8.8.:8.8 ?

Maybe I have not same library than you.
Please give me a link to download the same library you use.

My TM1637 is top of this picture.


I do not understand why same name for different item.

If you can light 8 . 8 8 8 (with dot) and 8 8 8 8(w/o dot) - then all what you need - to figure out the code difference between these cases - and after that you will know, how to light the dot itself.

Thank you b707 for your answer.
It is not good for my question.

This picture is what I want, only point :

And I want also same adding center dooble dot

Did you read my answer?
You didn’t do what I wrote to you - get 8 . 8 8 8 (with dot) and 8 8 8 8(w/o dot) on the screen and compare the code for them.

I can do that

arduino_tm1637_I-have

but it is not what I want !

tm1637.point(POINT_ON);
uint8_t data[] = {0b10000000,0b10000000,0b10000000,0b10000000,0b10000000,0b10000000};
display.setSegments(data, 6, 0);

error: no member named 'point'

what library do you use ?
Please give me a link.

In your code you use 2 names tm1637 and display :upside_down_face:


#include <Arduino.h>
#include <TM1637.h>

// Module connection pins (Digital Pins)
#define CLK 4
#define DIO 5

TM1637 tm(CLK, DIO);

void setup() {
  tm.set(BRIGHT_TYPICAL);//BRIGHT_TYPICAL = 2,BRIGHT_DARKEST = 0,BRIGHTEST = 7;
  tm.init();
  tm.point(1);
  tm.display(0,0b10000000);
  tm.display(1,0b10000000);
  tm.display(2,0b10000000);
  tm.display(3,0b10000000);
  tm.display(4,0b10000000);
  tm.display(5,0b10000000);
 }

void loop() {}

error: 'class TM1637' has no member named 'set'; did you mean 'setDp'?

tm.set(BRIGHT_TYPICAL);//BRIGHT_TYPICAL = 2,BRIGHT_DARKEST = 0,BRIGHTEST = 7;

error: 'class TM1637' has no member named 'point'

tm.point(1);

what library do you use ?

OK, now show the code that outputs first and last picture

seeed studio grove tm1637

My module does not have this decimal points.

Can you identify the number of your 7 seg. display?
(maybe there will be a number on the side of the display).

I am sorry, but I try / test several libraries and after I had conflict / problem.
I have deleted all to be clean.

Now I use TM1637Display.h from TM1637-master.
With this library, I can only have
arduino_tm1637_center-colon

Please show the code of your actual sketch