Hi!, i am currently developing an application with one wire devices, i have for convenience connected several DS1993 devices to different I/O pins (even from different ports), Is there a way of executing the same code on different pins?.

Can i make this code reusable (something like a funtion gosub) for different pins?

PIN var Portb.0
owout PIN, 1, ["data here"]

how can i change the I/O pin or the var PIN?

Thanks in advance!