python oled.write does not handle \n properly?



  • according to the documentation the oled write function will handle newlines in the input string to advance the cursor to the next line on the OLED display. But it does not work for me. Is this is know bug?

    Quick test program:

    from OmegaExpansion import oledExp

    oledExp.driverInit()
    oledExp.clear()
    oledExp.write('line 1\nline 2\nline 3\n')

    does not result in three lines.


Log in to reply
 

Looks like your connection to Community was lost, please wait while we try to reconnect.