Jump to content
Forum Maintenance between 04:00 - 06:00 UTC ×
Forum Maintenance between 04:00 - 06:00 UTC

Sting57

Members
  • Posts

    233
  • Joined

  • Last visited

Everything posted by Sting57

  1. Ok just wanted to say thanks for the all help you guys provided. While it did not work I am very appreciative. With not having any luck with a software solution I decide to look at the hardware with a view to replacing the pots. Using the AnalogReadSerial code mentioned above i could see that neither pot was returning to zero. I am using a shared ground for the entire lighting panel, which as three pots and two toggle switches. During my testing i moved the ground wire on the arduino to another slot and boom, problem solved. Immediately after i moved the connection the pots returned to zero. So the issue is solved, for now. I have no idea if the issue will return cause when I reconnected to the original slot it worked as well. So hopefully it was just a bad connection.
  2. Thanks Vinc, I do this for the backlighting out put. With my own backlighting I use the map() function to not output until the pot turns a certain distance. My issue is the other panels, like WinWing,throttle. Ohh that looks nice and simple, will try as soon as i get home. Thanks!
  3. I believe they are all linear. Thanks, unfortunately i am not a coder so quite unsure what any of that means. I will keep playing around. Thanks
  4. Hi all, I am using FP DCS Bios for my cockpit and needing a bit of help for mapping the pot values on my Console and instrument lighting pots The range on the pots is approximately 1500 to 65000 (according to BORT). This means that because the lower number is not zero, the backlighting is always on. I was hoping to use the map() function like this. void onConsolesDimmerChange(unsigned int newValue) { if (newValue < 1999) { ConsolesIntensitySwitch = map(newValue, 0, 1999, 0 , 0); //slower kick-in to match sim } else { ConsolesIntensitySwitch = map(newValue, 2000, 65535, 0 , 180); //output capped to lower max brightness } analogRead(A0); } DcsBios::IntegerBuffer consolesDimmerBuffer(0x7544, 0xffff, 0, onConsolesDimmerChange); This way DCS would not turn the lights on until my pot had passed 2000. However it is not working. The pot is connected to pit AO on a MEGA. I have used the map() function with AnalogWrite however never with AnalogRead (I'm not sure if it is the correction function to use. With the code, DCS does not read/see the value of the pot. This of course works DcsBios::Potentiometer consolesDimmer("CONSOLES_DIMMER", A0); Any thoughts?
  5. Yes, sorry i meant should i uninstall the current one and reinstall the new version, or just paste the new version over the old version? etc
  6. I still have v .31 (maybe.32) is there a correct method to update to the latest version that ensures i don't loose my current settings?
  7. Hi I just wanted to say thanks for this fantastic app. I run both a full pit and VR, your app has made my life of switching between these two options soooo much easier. Thank you. Yours, greatly appreciative. The Hornet Project https://www.youtube.com/@TheHornetProject
  8. Hi Thank you for the app it is great. I had a quick question. I noticed in the Graphic preset section under monitor I can't select the monitor option that Helios has created. Only the stock DCS options. Is there a way to use your own monitor setups file?
  9. Hi I used the code from the jssting site and it works fine. I did notice that the input from the encoder is not very precise though, ie one click on the rotary encoder may or may not generate the keystroke and sometimes it generates the opposite direction keystroke or both!. I mapped the encoder to the kneeboard next page and previous page keystrokes in DCS. Most of the time it goes to the next page if i turn it right, but sometimes it goes back to previous page. It is mostly workable but like I said, not particularly precise. Is this just how rotary encoders are? or is it the code, or is it my cheap aliexpress rotary encoders causing that issue? For my other encoder i use it to turn the nvgs on and the gain up and down, it works really well for that application cause it does not need to be that precise.
  10. Hi all just setting up the standby instruments for the new screen using Helios. Was able get them all working except the SAI. I have the ball rolling around correctly however I can not find were to map the waterline change and the ils bars etc. I have been using Helios to complete this. Is it possible to export a fully functioning SAI?
  11. that is from TekCreation.
  12. Nice little flight from the other night.
  13. Just closing the loop on this one, I ended up buying the USB to HDMI splitter. Been using it now for a couple of weeks and so far no issues. My max FPS is 60 due too tv refresh rate so I am not 100% sure if there has been a performance impact that I just can't see. Either way my FPS didn't before and still does not drop below 60 FPS.
  14. I just put some strip led's under the panels.
  15. Hi all, just updated to the latest OB today and now I am failing the integrity test in MP because HELIOS updates the script files in this folder: mods/aircraft/fa-18c/cockpit/scripts/. I use the additional viewports for the UFC and IEFI in HELIOS which is why the files get updated. How are other cockpit builders dealing with this lockdown of files from ED? I assume it is also causing issues for those that use helios to export the standby instruments? I seem to be in a position where I have a fully functioning pit or Multiplayer compatible. Has anyone else ran into this issue? Mike
  16. isn't that a Survelience track recieved from a Donor and not actually a radar track?
  17. In your Select Jett code, change the numbers 9 to 5. 9 is set there as a default, but you are only using 5 pins
  18. Thank you for this information. I had hit the limit of 4 outputs (Nvidia restriction) even though my 3070 Master has 6 outputs. Hoping this works! https://photos.app.goo.gl/5bV4s1Lo4iULZ5cF9
  19. Wish i had of seen these last week. Over the weekend i upgraded all my usb 2 hubs to usb 3 hubs (thinking i was doing a good thing). Now DCS Bios (FP) is not working correctly anymore, ie large lag between input and game change, some buttons not working etc. Going back to my old trusty powered usb 2 hubs for the arduino's. What a waste of money.... ohh this is really in the wrong forum. Should be in home builders IMHO @NineLine Thanks Sting
  20. yeah, "1" does not work either though the result it different (read: worse) it only releases the switch if you click the switch in the 3d pit.
×
×
  • Create New...