7 segmen display (TM1637) not working with attiny85

I'm trying to use a 7 segment display that uses the TM1637 ic with an attiny85, I tried to use the TM1637 library by Avishay Orpaz, but when I uploaded the code the display didn't show anything, then I tried the Tm1637Tiny library but when I try to upload the code it throughs an error

tinytm1637.ino (101 Bytes)

"Error compiling for board Digispark (Default - 16.5mhz)."

"Documents\Arduino\libraries\TM1637TinyDisplay-master\TM1637TinyDisplay.cpp:677:24: error: invalid conversion from 'const char*' to 'uint8_t* {aka unsigned char*}' [-fpermissive]
m_animation_string = s; "
^

I have tried to use other libraries such as "grove 4 digit display" but I still can't make work

any thoughts?

I run this code on the attiny and it work just right

attiny_7segment_stopwatch.ino (1.1 KB)

then I try this code first on an arduino nano and it worked as expected, then I made some changes to work on the attiny and when I uploaded the code the 7 segment display did not show anything

attiny_ds3231_i2c.ino (2.6 KB)

7 segment:
CLK => P3
DIO => P4

Installation and Troubleshooting is for Problems with the Arduino IDE itself NOT your project. It says so in the description of the section.

Therefore I have moved your post here. Please be more careful where you post in future.

You may want to read this before you proceed:-
how to get the best out of this forum

It might be a good idea to post your code.

Posting schematics is needed. No library in the world can compensate for a mistake in the wiring.

I just solved it, I was using a digipark attiny85 and I was uploading the code using the digistump board manager, apparently there is something wrong with it, because I tried programming it using the board manager package by David. A Mellis, and it worked perfectly fine

This topic was automatically closed 180 days after the last reply. New replies are no longer allowed.