|
/*-------------------------------------*/
void type_word (word w)
{
type_byte ((byte)(w >> 8));
type_byte ((byte)(w & 0xff));
}
/*-------------------------------------*/
void type_byte_slave (byte b)
{
if (b < 10) b += '0';
else b += '7';
putbyte (b) ;
}
/*-------------------------------------*/
void type_byte (byte b)
{
type_byte_slave ((b >> 4));
type_byte_slave ((b & 0x0f));
}
/*-------------------------------------*/
E-mail: info@telesys.ru