maxwe11:
this function add newline based on the chars length but i am sure there is a better way to achieve this with alot less space any idea?
Not familiar with the library you're using, but if it's written correctly, then you should be able to print something, then go to the next line like this:
Where you have "[b]oled.print (.....)[/b]", change it to "[b]oled.print[color=red]ln[/color] (.....)[/b]".
Hope this helps.