Romikgy » 03 апр 2012, 22:10
.equ __w1_port=0x1B ;PORTA
.equ __w1_bit=1 ; бит на порту А
#define MAX_DS1820 8 - максимальное число устройств
// number of DS1820 devices
// connected to the 1 Wire bus
unsigned char ds1820_devices; - ответ сколько реально есть на шине
// DS1820 devices ROM code storage area,
// 9 bytes are used for each device
// (see the w1_search function description in the help)
unsigned char ds1820_rom_codes[MAX_DS1820][9]; - видать считанные регистры ds1820 со всех устройств
die Wahrheit ist irgendwo da draußen