Jocman Posted July 28, 2018 Posted July 28, 2018 Hi all. I'm trying to program DCS-BIOS with the MAX72XX to drive annunciator, warning lights, etc etc in BS2 module. I've been watching some sample program (caution panel) found in the forum, but (unfortunately) they are made for AC10 module. More unfortunately, the led addressing for AC10 module's caution panel is....easy. So, to create something similar for BS2 module, I'm thinking about such logic structure (array or matrix) adapted to the BS2 led addresses. My question: LED addresses in DCS-BIOS ar something like: 0x1818 or 0x184a, etc . There are more led with the same address (es. 0x1818 , but the mask is different (0x0001, 0x0800, etc) So, every led is identified by (i suppose) something like 0x1818+0x0800 or 0x1818+0x0001, etc. I'd need to know how DCS tell arduino the led ID, so to use this ID to manage the led with arduino. As it can be very possible I'm totally wrong, that case can someone explain me how it works? Thanks all Jocman Jocman "For once you have tasted flight you will walk the earth with your eyes turned skywards, for there you have been and there you will long to return" (L. Da Vinci) Prev. Projects: https://forums.eagle.ru/showthread.php?t=50071
aymen007 Posted September 12, 2018 Posted September 12, 2018 hi jocman i think you have to find the bs2.lua then add it in the Scripts\DCS-BIOS\lib the dcs bios require bs2.json and bs2.js file too in Scripts\DCS-BIOS\doc those file will be generated automaticly when run dcsw below a caution panel code for a10c https://gist.github.com/7rooper/0091c6052dbe129f80802a42957d8741 you have to update the code to muches with bs2
Recommended Posts