bartzebrat Posted January 14, 2020 Posted January 14, 2020 (edited) Hi, I am trying to get data from DCS to DCS-BIOS to display on an LCD. The data I am looking for is the Indicated airspeed. I am trying to get it by coding in commondata.lua: local as_i = selfData.LoGetIndicatedAirSpeed() defineIntegerFromGetter("ASPD_IND", function() return math.floor(as_i) end, 65535, "Airspeed", "Airspeed ind (m/s)") That I found in another thread. I am not sure of this coding How do I know the address it is going to be sent to in order to display it through DCS-BIOS? I think I have located the aircraft heading around 0x422 but wasn't able to go farther than that (my grasp of C and lua is very superficial to say the least). I have read "Common Data Airspeed? #79" on Github but I hope that the matter has evolved since 2015. Any help or pointer to a different thread would be appreciated! Edited January 20, 2020 by bartzebrat Solved
BlackLibrary Posted January 15, 2020 Posted January 15, 2020 i will look into this aka WarLord DCSFlightpanels DCS-BIOS Fork DCSFlightpanels arduino-library DCSFlightpanels DCSFlightpanels-Profiles DCS FP / BIOS Discord Server
BlackLibrary Posted January 19, 2020 Posted January 19, 2020 Uploaded in booth version 0.7 and 0.10 aka WarLord DCSFlightpanels DCS-BIOS Fork DCSFlightpanels arduino-library DCSFlightpanels DCSFlightpanels-Profiles DCS FP / BIOS Discord Server
bartzebrat Posted January 19, 2020 Author Posted January 19, 2020 (edited) Wow I am sorry, I don’t get it (except that it sounds good) Would you mind being more explicit please? EDIT: Just saw that you actualy updated github!! https://share.icloud.com/photos/0qLB-nop3ptb-bNV021y7RmUQ I was not expecting that kind of help. Thank you very much for taking the time! EDIT again: I couldn't find the address in the app extension in Chrome so I looked up in the commondata.json, got he address, converted it to HEX (0x0426). Then I realized the json seemed to have the data usually displayed in the chrome app... I cleared the cache and... there it was! I have learned a few things about DCS-BIOS today, thank you again! Edited January 20, 2020 by bartzebrat Adding
Recommended Posts