Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

error: 'class TM1637' has no member named 'displayStr' #16

Closed
petermisovic opened this issue Mar 13, 2021 · 9 comments
Closed

error: 'class TM1637' has no member named 'displayStr' #16

petermisovic opened this issue Mar 13, 2021 · 9 comments
Assignees
Labels
Grove_4Digital_Display Label for Grove_4Digital_Display UAY Unassigned yet

Comments

@petermisovic
Copy link

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");

@petermisovic
Copy link
Author

petermisovic commented Mar 13, 2021

It is clear, that library version 1.0.0 installed via Arduino 1.18.13, does not contain those member classes in TM1637.h:
Screenshot from 2021-03-13 23-32-51.

I have downloaded latest version and building works fine.

@JoseCintra
Copy link

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.

@petermisovic
Copy link
Author

Hi, I did solve it, but honestly, I do not remember how:(

@Combinacijus
Copy link
Contributor

@petermisovic @JoseCintra
Library installed via Arduino IDE library manager (v1.0.0) does not contain latest functions as you can see here:
image

New library version should be released by repository maintainer (@lanselambor maybe?)


In a meantime you can download latest code from Github
image
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.

@MatthewJeffson MatthewJeffson added UAY Unassigned yet Grove_4Digital_Display Label for Grove_4Digital_Display labels Oct 9, 2024
@Lesords Lesords self-assigned this Oct 15, 2024
@Lesords Lesords assigned ackPeng and unassigned Lesords Oct 16, 2024
@ackPeng
Copy link

ackPeng commented Oct 16, 2024

@petermisovic @JoseCintra Is your problem solved now?

@Lesords
Copy link
Contributor

Lesords commented Oct 30, 2024

Hello,

I'm going to close this issue, feel free to re-open it if you have any other questions.

[Autocommentary]

@Lesords Lesords closed this as completed Oct 30, 2024
@github-project-automation github-project-automation bot moved this from Todo to Done in Issues and PR Assemble Oct 30, 2024
@anzbert
Copy link

anzbert commented Dec 25, 2024

@Lesords
Could this issue please be revisited?

The Arduino IDE still doesnt download the latest version that includes methods like displayStr() for me. I have to manually download the ZIP of the most recent master and add it to my Documents/Arduino/libraries folder.

Maybe you have to create a new release in the repository?!

Thanks a lot!

@Lesords
Copy link
Contributor

Lesords commented Dec 25, 2024

@Lesords Could this issue please be revisited?

The Arduino IDE still doesnt download the latest version that includes methods like displayStr() for me. I have to manually download the ZIP of the most recent master and add it to my Documents/Arduino/libraries folder.

Maybe you have to create a new release in the repository?!

Thanks a lot!

Thanks for pointing this out, I've already published the latest release.

It may take a while for this to take effect in the Arduino library manager.

@anzbert
Copy link

anzbert commented Dec 25, 2024

Thx for doing this so quickly 😊 !!
I'll check back in a while to see if it shows up in the arduino IDE

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Grove_4Digital_Display Label for Grove_4Digital_Display UAY Unassigned yet
Projects
Status: Done
Development

No branches or pull requests

7 participants