Showing results for 
Search instead for 
Did you mean: 

How to make a new widget to show log text or data incoming through serial?

Associate III

Please, someone could point me in the direction to make a widget to show logs or serial data on it?

Explaining it further, it should render multiple lines of data as it is being updated keeping an history of previously received data, breaking the lines as it exceeds the widget width or a line ending is received.

This would be ideal for showing logs or making a serial monitor on the screen which updates the data as it arrives (and which would look very nice with a monospaced font!).

YouTube video example


Any advice would be very appreciated. Thanks!

Associate III

Enabling a second LTDC layer and writing directly to it would work? If it is possible, I could just do this and redirect the output of printf to that second layer. Is it feasible?