Search found 5 matches

by olney_one
Tue Oct 01, 2024 11:06 am
Forum: General Discussion
Topic: Undefined references to WiFi classes at link-time
Replies: 2
Views: 384

Undefined references to WiFi classes at link-time

I am building an embedded swift application with interoperability to Arduino ESP32 libraries. I am fairly sure this problem relates to how I am building the library and not the swift bit! It runs with a (heavily) modified CMakeLists.txt, so it may be that I have messed something up here. If I use `W...
by olney_one
Mon Sep 16, 2024 9:52 pm
Forum: General Discussion
Topic: What is the most accurate way of determining the time between two interrupt events?
Replies: 3
Views: 705

What is the most accurate way of determining the time between two interrupt events?

I am new to ESP32s. I have an application that generates two interrupts on separate GPIO lines. Accessing timestamps for real time seems to be an integer. Would using this in conjunction with a CPU clock tick count be the most accurate way of measuring the interval? Or is there a better way?