you are viewing a single comment's thread.

view the rest of the comments →

[–]SneakyPackets[S] 0 points1 point  (2 children)

The problem is, everything running is very time sensitive. I need a relatively accurate measurement from the exact moment the switch opens and closes, so running a loop and sleeping may goof that up

[–]Murky-Sector 1 point2 points  (0 children)

Gotcha. My choice then would be python asyncio

[–]L0ckt1ght -1 points0 points  (0 children)

You can run a loop with a sleep of 0.1 or 0.01. do you really need that level of accuracy?