Jump to content

Kenpilot

Members
  • Posts

    211
  • Joined

  • Last visited

Everything posted by Kenpilot

  1. lol I did, but a very good question! Thanks for the response!
  2. I'm using Version V.0.10.0+64 Code: DcsBios::PotentiometerEWMA<5, 128, 5> saspYawTrim("SASP_YAW_TRIM", PIN)
  3. Hey guys. I can't get my home cockpit yaw trim pot to work for some reason. I'm using DCS Bios, Arduino Mega and a 10k Pot. I have the Pot connected to the Mega using a 5v pin, GND pin, and one of the Analog pins. I also copied the coding for the yaw trim from DCS Bios. It's not working at all, but the rest of the switches on my panel are. Yes, I've double checked all the connections, etc. Any idea what I'm doing wrong or might be the issue? Would a rotary encoder be better? Thanks!
  4. Anyone have any idea on how to fix this warped HSI in Helios? It just started doing it with the latest update. It starts out normal when you start Helios and start the game, but once you click FLY, it warps in to what you see in the pic. Thanks for any help!!
  5. My setup for DCS and Helios was working fine last year. I had to stop playing for a while and installed the Helios updates tonight, and now its not working correctly. I'm pretty sure its a Windows Display/Nvidia setting issue or a monitor issue in Helios. Hopefully someone that has a similar setup can help me out. I have a total of 4 displays: 3 Projectors and 1 seperate monitor. The 3 projectors are warped using FlyElise and are displayed on a wrap around 270 degree screen. The seperate monitor is what I project Helios on. I know before when everything was working, the Windows Display Settings showed 2 displays, one wide display (The 3 projectors using NVidia Surround I believe) and one small display, the seperate monitor. I thought I somehow was able to have all 4 displays showing being used in the Windows Display Settings and/or Nvidia, but yet only enabling surround for the 3 projectors which would then leave the 4th display by itself. I can't get that to happen again for whatever reason. It either allows me to select 3:1 for displays and enable surround using those, but then it doesn't recognize the 4th display, or I have to select 4:1 and it enables surround for all of them, which I don't think that's what I need. And then when I go in to Helios, it only shows the 1 wide screen. It won't recognize the second screen, where I put my Helios profile. I hope this makes sense and I hope someone can help me get my setup back and running again! Thanks in advance!!
  6. That looks about right, thanks Vinc! I'm still building the panel but I'll test it out once I finish it. Thanks again!!
  7. Building the A10 CMSP and using an Arduino Mega and IIC / I2C 2002 20x02 OLED Module Display. Anyone care to be kind enough to share their Arduino sketch for the display? I'm clueless when it comes to writing them for displays. Thanks!!
  8. I'm having this issue again. Is anyone else currently having this problem too? DCS BIOS is vary random for me as far as all my arduinos consistantly working when I start playing DCS. I have 5 arduinos connected and they're working fine on their own. I open the multi-com port.cmd before starting DCS as instructed by the new DCS BIOS. When I go in to DCS and start a mission or whatever, it is totally random which arduinos will work and which ones won't, sometimes they all do. Then I shut down my computer, turn it on later and go through the same thing. I'll try opening all the sketches and making sure the libraries are current, run the multi-com port .cdm as administrator, all these random things to see if it'll help and sometimes it does, but there's no rhyme or reason as to what works and what doesn't. I just try a bunch of random opening and closing of associated programs and it sometimes gets the Arduinos working in DCS and sometimes it doesn't. I always check the Device Manager once I start up the PC and all of the comm-ports that the aruinos are using are recognized and working. Am I the only one having this issue? Anyone have any ideas or fixes for this? It would be nice to be able to just fire up the PC, start Helios, open the multi-com port.cmd, and start up DCS and start playing consistantly. Thank you!!
  9. For some miraculous reason, everything is working fine today. I did go in and use the single com .cmd for each COM port to see if it worked, and it did. Then I tried the multiple.cmd with all of them and its working. Who knows. Just glad its working again!
  10. All of a sudden, DCS BIOS isn't working for me. I'm using 3 arduinos, on COM 4, 5 and 7. The sketches are fine and compiled and uploaded without a problem. I went in to the multiple-com-ports.cmd and edited it with Notepad++ and put 4 5 7 next to COMPORTS=. I select the .cmd from within the Scripts-Programs folder before starting DCS, and none of the arduinos are doing anything inside the game. Everything was working perfectly fine a few weeks ago. When I'm running DCS and go back and look at the .cmd screen, nothing is happening. Before, the code would continuously run while the game was running, now nothing. Any ideas?
  11. Disregard, I got it working!! Thanks for the help!!
  12. I tired this and I'm getting this error: C:\Users\kenpi\Documents\Arduino\TEST_MIP_MEGA_13MAR2023\TEST_MIP_MEGA_13MAR2023.ino: In function 'void setup()': C:\Users\kenpi\Documents\Arduino\TEST_MIP_MEGA_13MAR2023\TEST_MIP_MEGA_13MAR2023.ino:85:5: error: 'class LiquidCrystal_I2C' has no member named 'init' lcd.init(); // initialize the lcd ^~~~ exit status 1 Compilation error: 'class LiquidCrystal_I2C' has no member named 'init'
  13. You are 100% correct. Unfortunately it was a pretty long list and I was on my way out there door and didn't have time to go through them and see which ones I couldn't figure out on my own. And I know No1sonuk mentioned he didn't try it, and knowing him, I figured he would try it when he was able to to see what was going on with it. Awesome, thanks! I'll give it a shot.
  14. I tried this and unfortunately I got a bunch of error messages when I tried to verify it.
  15. Thanks guys! I put the wires in to pins 20 and 21 on the MEGA. But now I'm having trouble with the language from the DCS BIOS Code reference. I am not very knowledgeable with code or sketch language. Could someone put what exactly I need to put in my sketch for the LCD display to work? This is the language from DCS-BIOS control refrence: void onCmsp1Change(char* newValue) { /* your code here */ } DcsBios::StringBuffer<19> cmsp1Buffer(0x1000, onCmsp1Change); void onCmsp2Change(char* newValue) { /* your code here */ } DcsBios::StringBuffer<19> cmsp2Buffer(0x1014, onCmsp2Change); Thank you!!
  16. I just got back to working on my simpit and noticed the original DCS BIOS is no longer supported. I'm trying to update all my sketches with the new language and current DCS BIOS software. For the A10 CMSP LCD display, which I have wired to an arduino MEGA, in the sketch language, where do I put the pin numbers for the SCL and the SDA inputs/wires? Most sketches have PIN, where you put the arduino pin number, but the current language doesn't have that. This is the current language for the CMSP Display Line 1 and Display Line 2: DcsBios::StringBuffer<19> cmsp1Buffer(0x1000, onCmsp1Change); DcsBios::StringBuffer<19> cmsp2Buffer(0x1014, onCmsp2Change); Anyone have any idea?
  17. Thanks everyone for your help! I looked in my device manager and initially all of my COM ports were missing, minus the one that was actually connecting in DCS BIOS. I went ahead and added them manually using the Add Legacy Hardware function, but now those that I added have the dreaded yellow exclamation mark next to them. I tried updating the drivers but it keeps telling me the latest driver is installed. I'm getting a Code 34 and it says "Windows Cannot Determine the Settings for This Device" . When I researched a fix for this error code, it says you have to set up the COMP port manually. I'm not sure how to do that and I can't find anything so far to help me with that. Any one have any clue how to set up a COM port manually? Thank you!!
  18. Ok, how do I manually select the generated lua file in dcs video configuration?
  19. I'm trying to use DCS BIOS with several USB cables and all but one is saying Com MIssing. I've got auto connect selected and I've tried different USB ports and different USB cables but they won't connect. I know the computer is talking to the USB port because each time I plug in the USB cable, it recognizes it and says "Setting up device" and then "Device is ready to use." I've restarted DCS BIOS, I've re-started the computer, but no help. Anybody have any other ideas? Thanks! I looked in my pc device manager and it only has the com port that dcs bios has connected, no other com ports are listed. I'm looking to see how to show those as I'm sure that's probably one of my issues. If anyone has any fixes or can help in the meantime, please feel free!
  20. I'm running Helios on a second monitor for the Main Instrument Panel. All of the instruments and gauges that I have in my profile are working great and displaying but for some reason the MFCDs are not displaying. Can someone help me determine why and or help me get them to display? Thank you!
  21. Disregard my last. I went in to Immersive Calibration Pro and loaded my file and exported again and this time it exported a single.procalib file. I'm not sure why it didn't when I first calibrated and made my file, but I got my desktop to warp and blend now. Is it normal for the windows and window names to be sort of jagged or blurry? They were crystal clear before I enabled desktop warping. I know it looked like this the last time I messed with all of this a year ago but when I look at The Warthog Project's desktop windows screen after he enables desktop warping, everything still looks like it did before warping, smooth and clear. Is there a setting or something I need to change or enable? Now I'm going to see if I can get this to work in DCS.
  22. Ok I need to take this step by step. I want to first try and make my desktop screen look like one screen with the two projectors instead of how it looks now, which is two displays from the projectors. I turned on NVIDIA surround like you mentioned. I started Immersive display Pro and got a message that says, "Display configuration do not match with loaded configuration. Click each display to select the loaded configuration." I closed that message box and in Immersive Display Pro I am showing one display with No projectors. I'm guessing I then left click the one display and select External calibration (.procalib) from the pop up menu, but which file do I choose from the list of files? I looked on your table but I don't have a file name "single.procalib". I have 2 multi_DESKTOP files, multi_Projector1.procalib, multi_Projector2.procalib, and 2 single_DESKTOP files. Thank you for your help Yuriks!
  23. Ok guys, I'm back at it with trying to figure all of this stuff out and I'm already stuck. I don't even know how I got as far as I did the last time I tried messing with this. If any of you guys got this to work with DCS, I would greatly appreciate any step by step instructions you can provide. Here is where I'm at. I created the two export files after calibrating my projectors and screen. I selected DCS when I exported the files in Immersive Calibration Pro. In my PC Local Disk (C:) > WARP000>Config folder, I have multi_Projector1.procalib and multi_projector2.procalib files. I've disabled NVIDIA surround, I've assigned each file to it's respective projector in Immersive Display Pro, and I only have Desktop Warp Enabled. When I start DCS, I can't even select any menus or anything cause the screen isn't warped and blended yet. Where do I go from here? Shouldn't the main title screen for DCS be warped and blended? If so, how come mine isn't? If not, how in the world do you actually select any menus or anything? Any help would be greatly appreciated!!
  24. I'm back at it again trying to find servo settings to work for my fuel and hydraulic gauges so that they match the gauge readings in the game. I've tried the settings that everyone has suggested so far and none of them have worked. Does anyone else have any suggestions or is there an easy way to figure out what the settings should be for the servos that I have?
  25. Hey Darin, here is the sketch that I'm using that fixed my problem: //https://github.com/gadjet/1602-OLED-Arduino-Library/blob/master/OLedI2C.h void onCmscTxtChaffFlareChange(char* newValue) { LCD.sendString(newValue,12,0); //Now includes the cursor position data (col, row) } DcsBios::StringBuffer<8> cmscTxtChaffFlareBuffer(0x108e, onCmscTxtChaffFlareChange); void onCmscTxtJmrChange(char* newValue) { LCD.sendString(newValue,0,0); } DcsBios::StringBuffer<8> cmscTxtJmrBuffer(0x1096, onCmscTxtJmrChange); void onCmscTxtMwsChange(char* newValue) { LCD.sendString(newValue,0,1); } DcsBios::StringBuffer<8> cmscTxtMwsBuffer(0x12b0, onCmscTxtMwsChange); void onCmscBrtChange(unsigned int newValue) { LCD.setContrast(newValue/257); } DcsBios::IntegerBuffer cmscBrtBuffer(0x10ea, 0xffff, 0, onCmscBrtChange);
×
×
  • Create New...