![background image](http://html1.mh-extra.com/html/pixsys/td320/td320_user-manual_1560802072.webp)
72
take as parameters the number of digits to convert, starting
from the least significant digit. The coded data will be saved
(one digit per word) starting from the destination word and
then in the successive words according to the number of digits
requested.
•
TO_7SEG_UNSIGNED:
This is analogous to the above
description with the difference that the data of origin is
interpreted as a word without sign (0..65535). The code is
comprised of a bit set to “1” if a segment should be lit, and “0”
if the segment should remain dark. The association between
the bits and the segments of the display is the following:
B0
B1
B2
B7
B3
B4
B5
B6
•
TO_ASCII_SIGNED:
Convert the input data (a word with sign
–32768..+32767) into ASCII-coded digits. The function will
take as parameters the number of digits to save. The coded
data will be saved (one digit per word) starting from the
destination word and then in the successive words according
to the number of digits requested.
•
TO_ASCII_UNSIGNED:
This is analogous to the above
description with the difference that the data of origin is
interpreted as a word without sign (0..65535).