test code for DS2480 uart/one wire interface