circuits_gpio icon indicating copy to clipboard operation
circuits_gpio copied to clipboard

Fix GPIO interrupt timestamps

Open fhunleth opened this issue 6 years ago • 0 comments

Currently the timestamps have an offset with :erlang.monotonic_time/0. This is due to the code that sends the messages not living in a scheduler thread and therefore not having access to the monotonic time call in the NIF. It should be possible to calculate the time offset and account for it so that the timestamps can be compared with other events in Elixir.

fhunleth avatar May 05 '18 17:05 fhunleth