Revert "Mudanca no codigo do controle pela serial."

This reverts commit 43d8fc4ef830149d94d3bf52e3761be0d3effa08.