Function lcdca_write_packet()

Send a sequence of ASCII bytes to the LCDCA via the digit decoder.

void lcdca_write_packet(
		uint8_t lcd_tdg,
		uint8_t first_seg,
		const uint8_t * data,
		size_t width,
		uint8_t dir)

Note: If a NULL byte is encountered, or if the width count expires, data will no longer be sent via the digit decoder and the function returns.
Table 1. Parameters
Data direction Parameter name Description

[in]

lcd_tdg

Type of digit decoder

[in]

first_seg

First SEG where the data will be written

[in]

data

ASCII data buffer pointer

[in]

width

Maximum number of data bytes

[in]

dir

Direction (0 for left to right, otherwise right to left)