Fix for Issue #165

Proposed by jcRBern

Example available at http://github.com/energia/Energia/tree/issue_165/examples/4.Communication/Serial_StellarPad

Please test this update so the pull request can be validated.

The files have been manually edited to keep only the update. Next time, no proxy pull requester!