Fix for the char and string conversion compile errors present
Merge pull request #83 from anthony-ngu/FixSerialWriteCastIssues

Fix for the char and string conversion compile errors present