cancel
Showing results for 
Search instead for 
Did you mean: 

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

Dolence
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


_legacyfs_online_stmicro_images_0693W00000blFtwQAE.png 

Any advice would be very appreciated. Thanks!

1 REPLY 1
Dolence
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?