Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- char celsius; // Varialvel para guardar valor de temperatura
- String xpto;
- char msg[] = celsius;
- //***************************** loop() **************************
- void loop()
- {
- celsius = 28;
- xpto = sprintf(msg, "O valor é %d", celsius);
- for (int charIndex=0; charIndex < (sizeof(msg)-1); charIndex++)
- {
- int alphabetIndex = msg[charIndex] - 0x20;
- }
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement