My OpenWeatherMap display wth M%Paper



  • Hi,
    Here I wont to show the status of my little project. Have take the example of David Bird (4.2" weather display for e-paper) and rebuild this for the M5Paper. Divide the whole project in 3 screens, with the switch on top I can choose the screen.
    As you can see the project is still in progress. One of the things I can't fix is to display the time ( right upper corner) without updating the whole screen.
    Has someone tried to make a kind of a clock ?

    0_1613225023359_IMG_1073.jpg

    0_1613225041942_IMG_1074.jpg

    0_1613225054276_IMG_1075.jpg

    Will keep you informed about the project.

    Cheers

    Jan



  • Nice work but have you tried creating the clock as a function and using partial refresh to the area of the clock only?



  • @ajb2k3 No, but I think found the solution by introducing a second small canvas. Place this on the location of the clock, and updated it every minute. Have done some experiments with this and the results where one for me.



  • Any chance you'd be able to share the code for this? Great work!



  • That is no problem, must do some changes because some parts are in my native language, Dutch. But I have no clou how to set my program zipped on the forum.



  • @powersoft
    Hi, it is a very nice project!
    Maybe you can share your code with me?