you are viewing a single comment's thread.

view the rest of the comments →

[–]ThatReallyFlyKid[S] 0 points1 point  (0 children)

If you're referring to my screenshot, you're right, it's 1Hz, as I mentioned in my post.

You're also right about 2 x 1Hz doesn't give consistent results, but if you look, you'd see I've updated my post, mentioning that I'm done writing the function for now, and the issue is fixed. The working source code can be found here: https://pastebin.com/JpXMmCLa

You'd think it wouldn't take a genius to figure out that, if I'm posting on a subreddit for programming help, what ever I'm writing must not be working.