Jump to content

Kenpilot

Members
  • Posts

    209
  • Joined

  • Last visited

Posts posted by Kenpilot

  1. Building my A10 VHF Comm panels and I noticed for the frequency display and output for the Preselect Display, DCS Bios has you write your own code for the displays, and I'm clueless when it comes to this. Does anyone have a sketch I can "borrow" for these displays. For the Frequency display, I'm using an 8 digit 7 segmented LED display, (only 6 digits are visible in my panel) and 2 single digit 7 segmented displays for the preselect display. Thanks!!

  2. 1 hour ago, No1sonuk said:

    There's a "control reference" section of the DCS-BIOS files.

    Okay thanks, I'll look in the files again. Looked before but didn't see anything. But now that I know what I'm looking for I might find it lol 

  3. I play DCS on my desktop gaming pc, which of course also has DCS Bios and BORT installed. However, I want to be able to look up the BORT buttons/switches/knobs sketches, etc from my laptop for when I'm building my panels for reference. I've tried installing BORT on my laptop but apparently DCS and DCS Bios need to be loaded on the same computer to be able to look up the BORT information from what I'm experiencing. Does anyone have a list, or know where I can find a list, of all the BORT sketches, etc. for the A10 without having to run BORT? Thanks!

  4. 4 hours ago, agrasyuk said:

    I'd say OLED is the go to. Make sure you build your device with maintenance and replacements in mind because in my experience these OLED screens will burn in and loose brightness quite a bit.

     

    If budget is not an issue and you are willing to put work into more complicated device you can go for the original led matrix displays. 

    2v2Hq9cT5xUHnUD.jpg

    If you can pull it off you will really like the end result.

     

    https://media.fotki.com/2v2aByj2rxUHnUD.jpg

     

     

     

    Do you have any OLED suggestions? With links to where I can purchase them in the US if possible?

     

    I have zero experience with LED matrix displays and it definitely looks like a lot more wiring/work. It looks great though! 

  5. 2 minutes ago, agrasyuk said:

    What kind of sketches are you writing? If it is purely HID , then I'd say unplug, replug the device and then scan for new devices in the input binding menu. If you are making DCS-BIOS sketches I think restarting the mission will be sufficient.

    They are DCS Bios sketches. I think I've tried just restarting the mission and it didn't work, but I'll try it again. Thanks for the response!

  6. Any time I build a panel and or write/edit an arduino sketch, I of course startup DCS and test it in the game. I then will completely exit out of DCS to edit the Arduino sketch, upload it, and then start up DCS again to test it again. Is there any kind of short cut to not have to completely exit out of DCS and restart it once you've made an arduino sketch edit and upload? This is obviously very time consuming. I've tried just minimizing DCS but it doesn't recognize the new arduino sketch for the panel when I've tried it. Thanks for any suggestions! 

  7. Hey guys, what is everyone using for their A10 CMSC and CMSP displays? I was using these https://www.ebay.com/itm/165013228347 but the one I had up and running is no longer working and I can only find them on ebay from China, and it takes about a month to get them to the US. I was hoping to find something here in the US that I can use that I can get a lot quicker, Amazon would be great. I'm using them with DCS Bios and Arduino. Any suggestions would be greatly appreciated! 

  8. 22 hours ago, MadKreator said:

    @Kenpilot if you haven’t figured it out yet. You have to edit a line in you viewporthandling.lua ( which works for almost all jets by itself for the in-cockpit displays) but for the a-10  you ALSO need to comment out one more line in the a-10 mfcd file.. give this thread a read through. I posted both screenshots of the correct files to modify. I would use it with ovgme so you don’t have to redo it every time dcs updates. 
     

     

     

    I have not figured it out yet so thanks for the reply!! I'll give this a shot when I find some time to work on it. Thanks again!!

  9. Building the A10 CMSP and for the display, I copied the sketch from DCS Bios and its giving me an error code when I try to compile the sketch.

    error: 'onCmsp1Change' was not declared in this scope
     DcsBios::StringBuffer<19> cmsp1Buffer(0x1000, onCmsp1Change);

    error: 'onCmsp2Change' was not declared in this scope
     DcsBios::StringBuffer<19> cmsp2Buffer(0x1014, onCmsp2Change);

    I'm not familiar with the coding and language in the sketches, I just copy and paste, so please be gentle. Thanks! 

  10. Hey Vinc! Thanks for the response. Unforunately I'm not familiar with how to use the "action button" function and "state machines" in DCS Bios. The only thing I know how to do is copy and paste the sketch language from DCS Bios to the Arduino. I don't know what the coding means or how to write my own. Do you know of any tutorials or videos for beginners that would hep me understand them so I can figure this out?

     

  11. I'm building the Intercom Panel for the A10 and this is how I'm wanting to build it, but need some help. I'm using rotary encoders with switches for the volume knobs, and an Arduino Mega to be used with DCS Bios. I want to wire the knobs so that they are "turned on" only when I push the encoder switch, and turned off when I push it again. Along with this, I'd like to wire an LED backlight for the panel to light up when I push the switch, showing me that volume knob is "on" or "active", and then turned off when I push the switch again. So how do I wire the rotary encoder with switch (GND, +, SW, DT, CLK), the LED (+,-) and Arduino Mega. Thank you for any help! 

  12. I downloaded and installed everything and the trim still isn't working correctly. I tried a different analog input on the arduino and tried a different arduino, still no luck. When I turn the knob, it reacts in certain positions, but it's very sensitive and doesn't turn the correct way and if I turn it all the way, the entire arduino disconnects and it doesn't work anymore, I have to close DCS out and restart it. It's very strange. Could it be the potentiometer I'm using? Should I try a Rotary Encoder? Thanks!

  13. On 3/7/2024 at 6:32 PM, No1sonuk said:

    OK.  That's the "Hub" version that's no longer supported by its original developer.  I'm surprised it works at all now.
    You should switch to the "Skunkworks" fork (formerly called the Flightpanels Fork).  That's actively maintained and updated.
    https://github.com/DCS-Skunkworks/dcs-bios
    There's an installation guide here:


    And a Discord here:
    https://discord.gg/T3bHedJk

    Well damn. Ok, thanks for the heads up!! Now I just hope when I change over to this newer DCS Bios, everything still works! lol I'll give it a shot. Thanks!!

  14. 6 hours ago, agrasyuk said:

    probably not much help, but my DCSBIOS-based SAS panel and the Yaw trim are working with the exact line of code you used. Or at least it was working before the latest patch, I didn't try it with the most recent open beta version yet. so i'd say keep troubleshooting, I assume you did replace the PIN in your code to the actual analog input 🙂
     

    lol I did, but a very good question! Thanks for the response! 

×
×
  • Create New...