drunsinn / pyLSV2

A pure Python3 implementation of the LSV2 protocol
MIT License
64 stars 24 forks source link

Scope #44

Closed Md-aliy7 closed 1 year ago

Md-aliy7 commented 1 year ago

Hi, Here I modified the real-time readings function to use time class for the reading duration in seconds. I used the yield function within it to make a generator function. By iterating the function calling process, we can get real-time readings. I made the print commands as comments from my previous work; you can get them again if you wish.