git-svn-id: https://svn.salfter.gotdns.org/svn/a2bfc/trunk@82 1b90f75b-8b96-4784-87c0-14078182fce6
17 lines
316 B
C
17 lines
316 B
C
#include "ow.h"
|
|
|
|
void ow_selectdevice(unsigned char* devid)
|
|
{
|
|
ow_reset();
|
|
ow_writebyte(85);
|
|
ow_writebyte(devid[0]);
|
|
ow_writebyte(devid[1]);
|
|
ow_writebyte(devid[2]);
|
|
ow_writebyte(devid[3]);
|
|
ow_writebyte(devid[4]);
|
|
ow_writebyte(devid[5]);
|
|
ow_writebyte(devid[6]);
|
|
ow_writebyte(devid[7]);
|
|
return;
|
|
}
|