#include #include #include #asm .equ __w1_port=0x18 .equ __w1_bit=0 #endasm #include #define MAX_DEVICES 8 unsigned char rom_code[MAX_DEVICES][9]; void main(void) { unsigned char i,j,devices; int temp; UCSRA=0x00; //baud rate...übertragung RS2/32 UCSRB=0x08; UBRRL=0x33; devices=w1_search(0xf0,rom_code); printf("%-u DEVICE(S) DETECTED\n\r",devices); while(1) { for(i=0;i