Parque de estacionamento automatizado
Parque de estacionamento automatizado
Parque de estacionamento automatizado
You also want an ePaper? Increase the reach of your titles
YUMPU automatically turns print PDFs into web optimized ePapers that Google loves.
Relatório da Prova <strong>de</strong> Aptidão Profissional – Bruno Barbosa<br />
Sub LimpaLCDEntrada<br />
SerSend 1, 254<br />
SerSend 1, 1<br />
Wait 10 ms<br />
Exit Sub<br />
End Sub<br />
'''Limpa o LCD da saída<br />
Sub LimpaLCDSaida<br />
SerSend 2, 254<br />
SerSend 2, 1<br />
Wait 10 ms<br />
Exit Sub<br />
End Sub<br />
'''Escreve no LCD da entrada a mensagem do nome do parque<br />
Sub EscreveNomeDo<strong>Parque</strong><br />
SerSend 1, 254<br />
SerSend 1, 128<br />
SerPrint 1, " PARQUE@ESALV "<br />
Wait 10 ms<br />
Exit Sub<br />
End Sub<br />
'''Escreve no LCD da entrada a mensagem <strong>de</strong> boas-vindas<br />
Sub EscreveBemvindo<br />
SerSend 1, 254<br />
SerSend 1, 192<br />
SerPrint 1, " Bem-vindo! "<br />
Wait 10 ms<br />
Exit Sub<br />
End Sub<br />
'''Escreve no LCD da saída a mensagem <strong>de</strong> introdução <strong>de</strong> código<br />
Sub EscreveIntroduzirCodigo<br />
SerSend 2, 254<br />
SerSend 2, 128<br />
SerPrint 2, "Digite o c"<br />
SerSend 2, 254<br />
- 20 -