To be clear, this defines the screens that will be displayed on the LCS screen using the display_mask parameter. 1f will display all. custom_en sets up that the custom display will be used and content is the permanent message to be displayed.
An alternative approach might be:
Turn off all the default screens and set up the customisation screen to display with the value “— Default —”
echo ‘{ “display_mask”: “0”, “custom_en”: “1”, “content”: “— Default —” }’ >/dev/ttyS0
display_mask : This value indicates whether the screens, 1-5 are displayed. You need to convert this value to the corresponding binary when setting. For example, 0x03 converted to binary is 00011, which means that only the first screen and the second screen are displayed; the default 1f, that is, 11111, displays 5 screen contents. 0 will turn off all screens.
To send a message to the screen that will temporarily be displayed:
echo ‘{ “msg”: “— GPS info —” }’ >/dev/ttyS0
1 Like