RuiViana

Teste.ino

Feb 13th, 2020
229
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  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. }
RAW Paste Data