duxenmx / E_ink_dashboard

E_paper display using raspberry pi zero showing realtime information of several topics, like weather, transit, currencies, stocks, tasklist and meetings
MIT License
70 stars 6 forks source link

Refresh time handled by an event #14

Closed KSuondProject closed 3 years ago

KSuondProject commented 3 years ago

Hi @duxenmx ! I hope you're well!

I'm thinking to made another project to view only the spotify information so I need to try to refresh the screen every time that the song change. I know that is not safe for the hardware but I want to try to see what happen. I don't know how to handle the epd.sleep (and other write and sleep commands...) using a event handler (change the value of "track" variable). Can you help me with this please?

Thank you!