Advertisement
RuiViana

Teste.ino

Feb 13th, 2020
520
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
C++ 0.31 KB | None | 0 0
  1. unsigned long teste;
  2.  
  3. void setup(){
  4. Serial.begin(115200);
  5. }
  6.  
  7.  
  8. void loop(){
  9. teste = (((unsigned long)2023 * (unsigned long)1000000) + ((unsigned long)12 * (unsigned long)10000));
  10.  
  11. Serial.print ("teste: ");
  12. Serial.println (teste);
  13. Serial.println ("certo: 2023120000");
  14. Serial.println();
  15.  
  16. delay(5000);
  17. }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement