Updated uart writing string from a.Huy source code