Questions tagged [integer]

4 questions
4
votes
1 answer

ESP32 can not deep sleep longer than 35 minutes

I'm trying to get my Lilygo T5 4.7" epaper to deep sleep for 12 hours. But I only seem to be able to get about half an hour (2100s) of deepsleep on it. If I set the timer for longer, it just reboots right away. #include #include…
Engberg
  • 43
  • 1
  • 4
0
votes
1 answer

integer overflow in expression of type 'int' results

i need to wake up my ESP every 60 min to read some data and post it to server, all process working fine when i use numbers of minute below 60 (converted in microsecond x 1000000) but when i use 60 min above i get the following…
Damiano Miazzi
  • 151
  • 1
  • 6
-1
votes
2 answers

How 2 bytes can produce negative number, mind blowing?

I am trying to use LoRAWAN and sending tempurature values as less bytes. I found that way and tested it works fine it can send negative and positive numbers as 2 bytes instead of "float" as 4 bytes or "double" as 8 bytes but still I can not…
mehmet
  • 297
  • 2
  • 19
-1
votes
1 answer

Serial does not read buffer with integer characters greater than 43

I'm trying to write a script to move an object coupled to a linear axis through a stepper motor. The user must send information such as the length to be moved, the speed of movement, the direction of movement, or even if he wants to make millimetric…