Code Monkey home page Code Monkey logo

Comments (7)

duxenmx avatar duxenmx commented on July 17, 2024

Hi there

Sorry, been quite busy with work and other things, sure I'll see what I can do, do you have a GitHub where I can see the code?

from e_ink_dashboard.

KSuondProject avatar KSuondProject commented on July 17, 2024

Unfortunately not, but I'll learn how to upload on GitHub as soon as I can and let you know!! Really really thanks man!!!

from e_ink_dashboard.

KSuondProject avatar KSuondProject commented on July 17, 2024

Hi @duxenmx !!
I've put my code on Github and I've sent to you an invite to see it!
I published the code as private because it is badly written and I would be ashamed if someone else saw him! 😆

Thanks again for the support! See you there!!

from e_ink_dashboard.

duxenmx avatar duxenmx commented on July 17, 2024

heya, havent run the code yet, have to reinstall a lot of stuff for my editor but from what I see in the test.py line 86-106, once it loads for the first time you getting information on the console for the start_counter, prev_song, curr_song, right?, once it the sleep time passes are you getting different information everytime it refreshes?

time.sleep is in seconds, so having time.sleep(5.0) is only seconds, if this was minutes it would be time.sleep(5*60) if that was your intent

start with this and let me know

from e_ink_dashboard.

KSuondProject avatar KSuondProject commented on July 17, 2024

My intent with this function is read the title of the song in the prev_song variable than wait 20 secs (declared in def function of d_spoti.py). In a loop this function control if the prev_song is equal to curr_song; if the control is true do nothing, if the control is false the song has changed and so the screen write a new image with the new template.
The problem now is that the spoti function return always the same title of the song and they never change and I really don't know why they remain the same. I was think that every time the while loop read the variables the prev_song and curr_song were refreshed but it doesn't happen. There something wrong in the grammar of the code?

the time.sleep(5.0) can be deleted, it isn't useful.

from e_ink_dashboard.

duxenmx avatar duxenmx commented on July 17, 2024

I'll be closing this issues and can follow through on your project github if more assistance is needed in the future

from e_ink_dashboard.

KSuondProject avatar KSuondProject commented on July 17, 2024

Sorry for the delay, ok thank you. See you soon!

from e_ink_dashboard.

Related Issues (10)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.