|
//----------------------------------------------------------------------------
// Write a byte to DS1820
//----------------------------------------------------------------------------
void DS1820_wrbyte(unsigned char c)
{unsigned char i;
for (i=0; i<8U; i++)
{DS1820_wrbit(c & 0x01); // Send out bit
c >>=1;
}
return;
}
E-mail: info@telesys.ru