implment 0x06 write single holding reg functions