Jump to content

DCS Bios sending wrong values ?


Bacab

Recommended Posts

Hi everyone,

 

I have built a "pocket" instrument panel using x27.168 steppers, an oled screen and two arduinos (UnoR3 & Pro mini 5V) linked through I2C.

DSC-0141.jpg

Since I only want some basic data, I chose to use the common data plugin. I tested it in the P-47 (no luck) and in the F-5 (it kinda work). It seems like most of the time the instruments are showing the correct value however they regularly displays completely incorrect values.

 

I can't see anything weird when I check the values in DCS bios web interface so it could be my programming on the arduino's end. However I find it odd that as soon as I press the pause button all the instruments that were showing abnormal values go back to displaying correct data.

 

Do you have any idea of what may cause with this kind of behaviour ?

 

Thanks for the help.

 

EDIT : It's working now ! The issue was a dynamic allocation in my code that was not freed and only occurred when the altitude was changing, hence why It worked when the game was paused.


Edited by Bacab
Link to comment
Share on other sites

  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...