Write to characteristic