
##)!!&% $
Appendix B
B-11
Displays an integer value in decimal on the ASCII display of the serial
expander module.
C Syntax
#include <copro.h>
unsigned CC_DISPLAY_DEC (val)
int val;
Parameters
val
Contains the integer value to be displayed in decimal form on the ASCII
display. The display ranges from -999 to 9999.
Returns
Status Symbolic Name Meaning
"#%! $&$$&
%*! '#$! ##!#
(" # !% "#$ %
Description
Use the CC_DISPLAY_DEC function to display an integer value in the
ASCII display. The value must be in the range -999 through 9999.
Important: ASCII display remains unchanged until another display
function call is performed successfully.
C Example
unsigned status;.
int value = 1234;
.
.
.
status = CC_DISPLAY_DEC (value);
.
.
.
CC_DISPLAY_DEC
Comentarios a estos manuales