[an error occurred while processing this directive]
|
../*-------------------------------------*/
void type_byte_slave (byte b, byte *target)
{
if (b < 10) b += '0';
else b += '7';*target = b;
}
/*-------------------------------------*/
void type_byte (byte b, byte *target)
{
type_byte_slave ((b shr 4), target++);
type_byte_slave ((b and 0x0f), target);
}
/*-------------------------------------*/
..byte A[8], B[17];
byte *pB=&B[0];
B[16]=0;
for (i=0; i<8; ++i)
{
type_byte (A[i],pB);
pB += 2;
}