Advertisement
RuiViana

teste

Jun 29th, 2015
348
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.44 KB | None | 0 0
  1. char celsius; // Varialvel para guardar valor de temperatura
  2. String xpto;
  3. char msg[] = celsius;
  4.  
  5. //***************************** loop() **************************
  6. void loop()
  7. {
  8. celsius = 28;
  9. xpto = sprintf(msg, "O valor é %d", celsius);
  10. for (int charIndex=0; charIndex < (sizeof(msg)-1); charIndex++)
  11. {
  12. int alphabetIndex = msg[charIndex] - 0x20;
  13. }
  14. }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement