Comunicação serial

Put a print statement just inside your loop function and you will see a lot of what is going wrong.