Search found 3 matches

by jensvanhoof
Fri Oct 29, 2021 7:18 am
Forum: ESP32 Arduino
Topic: display time since boot
Replies: 2
Views: 7612

Re: display time since boot

Indeed that seems to have fixed it! I was wrongfully trying to figure it out with 2^32 instead of 2^31 that's why I didn't get to that exact number. I also was under the impression that declaring a variable as long would automatically initialise it at 64-bit. int64_t fixed it! I'll let you know in 2...
by jensvanhoof
Wed Oct 27, 2021 4:27 pm
Forum: ESP32 Arduino
Topic: display time since boot
Replies: 2
Views: 7612

display time since boot

Hi all, I'm trying to diplay the total time my Esp32 has been running, on a LCD display. I'm using the esp_timer_get_time() function which gives back the running time in microseconds. I'm reading that value into a variable called microSecondsSinceBoot, and the data type is a long, which should be 64...
by jensvanhoof
Thu Oct 21, 2021 11:10 am
Forum: ESP32 Arduino
Topic: RS485 (max33072easa+)
Replies: 0
Views: 1931

RS485 (max33072easa+)

Good afternoon, I'm working on a Modbus RTU (RS-485) master project (115200 baud) with the ESP32, currently in the breadboard phase. So far, it works flawlessly with one of these boards: https://arduinoinfo.mywikis.net/wiki/RS485-Modules Since that board uses the MAX485, which is on 5V, I'm using th...