Closed petermisovic closed 2 weeks ago
It is clear, that library version 1.0.0 installed via Arduino 1.18.13, does not contain those member classes in TM1637.h: .
I have downloaded latest version and building works fine.
Hi @petermisovic
Did you solve this problem? For me, the same errors occur. There are no displayStr or displayNum methods as shown in the examples.
Hi, I did solve it, but honestly, I do not remember how:(
@petermisovic @JoseCintra Library installed via Arduino IDE library manager (v1.0.0) does not contain latest functions as you can see here:
New library version should be released by repository maintainer (@lanselambor maybe?)
In a meantime you can download latest code from Github
And unzip it to wherever your Arduino libraries are installed (but first you should delete already installed Grove_4-Digit_Display library)
To find Arduino libraries location go to Arduino IDE -> File -> Preferences
and there you'll see Sketchbook location:
that folder contains libraries
folder in which Arduino libraries are installed.
@petermisovic @JoseCintra Is your problem solved now?
Hello,
I\'m going to close this issue, feel free to re-open it if you have any other questions.
[Autocommentary]
Library 1.0.0 installed via Arduino 1.18.13 manager (Ubuntu linux).
tm1637 class defined with pins, initialized in setup {tm1637.init(); tm1637.set(BRIGHT_TYPICAL); tm1637.clearDisplay();} and called loop{tm1637.displayStr("L0");}
Verify (or upload code) exits with error: error: 'class TM1637' has no member named 'displayStr' tm1637.displayStr("L0");