Oled C Library



  • I have the latest firmware, 0.3.2 b218, and the C library for the OLED control seems to ignore newlines. Strings with newlines work fine if I write using oled-exp, but they don't when calling oledWrite("string"). Has anyone else noticed this? Is there a workaround?

    I'm going to file a bug here shortly.



  • Is it a bug? I never expected this to work in code I just used this:

    oledSetTextColumns();
    oledSetCursor(y,x);
    oledWrite(s);



  • Thank you, it wasn't. I had forgotten the oledSetTextColumns() call. Fixed it, thanks for the reminder/help.


Log in to reply
 

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