Replace a line instead of overwriting



  • weight.py
    Hello, I am using the following library : https://github.com/pycom/pycom-micropython-sigfox/blob/master/drivers/display/ssd1306.py to work with a SSD1306 screen. I can successfully show sentences on the screen, however if you look at my piece of code, I use a time.sleep(2) to display another sentence on the same line as the previous one. As expected, there's a conflict between ">5" and "Just waited >", as the first one hasn't been replaced. How can I do to not have two lines written at the same place as it looks blurred ? I know you'll say that I still have plenty of space on the screen and I should use it, but I have other lines coming and I'd like to do the same thing. Hope I was being clear enough.
    Thank you


Log in to reply
 

Pycom on Twitter