Olá!
Se quiser algo mais elaborado dê uma olhada nisto:
https://github.com/FernandoGarcia/Ferduino_Portuguese
Abraço.