Braeden108 Posted February 9, 2020 Posted February 9, 2020 Hi, A friend of mine is having speed issues with inputs. He currently has 30 analog inputs to DCS bios running at 1024 each. It takes 10 seconds for a input to register. We're trying to drop that down to 8 bits or lower if possible. But I have no experience with DCS BIOS. Thanks for the help Light the tires kick the fires! [sIGPIC][/sIGPIC]
Ranma13 Posted February 10, 2020 Posted February 10, 2020 I think your question needs to be clarified a bit. DCS BIOS itself should have no issues handling that many inputs at once. The issue is probably in the Arduino code that your friend is using. Although it does take some time to do an analog read, 30 analog reads also should not take anywhere near 10 seconds. Chances are there's some other code that's blocking the Arduino from reading the analog inputs as fast as it's capable of. If you can provide the code, that will help with troubleshooting.
Braeden108 Posted February 16, 2020 Author Posted February 16, 2020 Here's his code https://www.dropbox.com/s/ubi64ep3bxwik65/f14_ard_0.ino?dl=0 https://www.dropbox.com/s/74emog0lrswgnaq/f14_ard_1.ino?dl=0 https://www.dropbox.com/s/le4e8yy7ma7ed8v/f14_ard_2.ino?dl=0 https://www.dropbox.com/s/9v0rm9reirwu5u9/f14_mega.ino?dl=0 I'll point him in this direction as well Light the tires kick the fires! [sIGPIC][/sIGPIC]
Recommended Posts