JX-32 Posted December 13, 2021 Posted December 13, 2021 Hi, I am working on a FA18 UFC style control box with oled displays and leds. Currently I managed to code up to let the box switch its display info and led based on aircraft name reported by dcsbios's metadata. But I struggle to find a buffer in dcs bios indecating if game is at its login page or at least if game is stopped. The reason why I would like to have that is to turn off all the displays and leds after the game. As the aircraft name is not updated when you exit a plane or exit the game. I cannot relay on that buffer.
Sprocket1597 Posted December 13, 2021 Posted December 13, 2021 you can code it to watch if "MetadataEnd/_UPDATE_COUNTER" stops.
Sting57 Posted January 23, 2022 Posted January 23, 2022 (edited) Did you have any luck getting this to work? I was going to try these commands display.ssd1306_command(SSD1306_DISPLAYOFF); // To switch display off display.ssd1306_command(SSD1306_DISPLAYON); // To switch display back on using the MetadataEnd/_UPDATE_COUNTER Edited January 23, 2022 by Sting57 Win11 64bit, AMD Ryzen 58003DX, GeForce 3070 8GB, 2TB SSD, 64GB DDR4 RAM at 3200MHz _ full 1:1 FA-18C Cockpit https://www.youtube.com/@TheHornetProject
Recommended Posts