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 header file needs to be included into an application statistically at build-time and displayed at the next run-time.
To summarise,
Print to console | Image | 16-bit image | Pixmap |
---|---|---|---|
Screens | Fast | All | Fast |
Screens | Monochrome | All | Monochrome |
Save on | Serial console | Serial console | Serial console |
Save as | Image structure | 16-bit image structure | Pixmap table |
Generated at | Run-time | Run-time | Run-time |
Read from | Header file | Header file | Header file |
Included at | Build-time | Build-time | Build-time |
Only the 16-bit image header file on SD-card library manages all the screens, including colour screens.
The image header file on SD-card and the pixmap file on SD-card only manage monochrome screens.
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 images as header files dynamically at run-time on the Serial console to be included in an application statistically at build-time.
-
Print screen content as 16-bit images as header files dynamically at run-time on the Serial console to be included in an application statistically at build-time.
-
Print screen content as portable pixmap as header files dynamically at run-time on the Serial console to be included in an application statistically at build-time; and