Serial library¶
The serial library allows to print the screen on a serial console as an image or a pixmap table to be used as a header file.
-
The image on serial console option prints a header file on the serial console.
-
The 16-bit image on serial console option prints a header file on the serial console.
-
The pixmap table on serial console option prints a header file on the serial console.
-
The buffer on serial console option prints the frame-buffer as a header file on the serial console.
The header file needs to be included into an application statically at build-time and displayed at the next run-time.
To summarise,
Format | Name | Print to console |
Read at | Screens |
---|---|---|---|---|
Image | Image |
Header | Build-time | Monochrome only |
Image | Image16 |
Header | Build-time | Monochrome and colour |
Pixmap | P4 |
Header | Build-time | Monochrome only |
Frame-buffer | Buffer |
Header | Build-time | Monochrome and colour |
Configure¶
No configuration is required, as the output is the default serial console.
Use¶
Select one of the three options for the serial library:
-
Print screen content as image header file dynamically at run-time on the Serial console to be included in an application statically at build-time;
-
Print screen content as 16-bit image header file dynamically at run-time on the Serial console to be included in an application statically at build-time;
-
Print screen content as portable pixmap
P4
header file dynamically at run-time on the Serial console to be included in an application statically at build-time; and -
Print screen content as frame-buffer header file dynamically at run-time on the Serial console to be included in an application statically at build-time.