Jump to content

Kenpilot

Members
  • Posts

    199
  • Joined

  • Last visited

Everything posted by Kenpilot

  1. 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.
  2. I tried this and unfortunately I got a bunch of error messages when I tried to verify it.
  3. 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!!
  4. 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?
  5. 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!!
  6. Ok, how do I manually select the generated lua file in dcs video configuration?
  7. 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!
  8. 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!
  9. 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.
  10. 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!
  11. 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!!
  12. 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?
  13. 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);
  14. It turned out to be a bad encoder, which is strange since they're new. I swapped it out and everything worked fine. Thanks for the help!!
  15. I have a rotary encoder connected to an arduino mega and using dcs bios for the HSI Heading bug selector for the A10C. The knob works but it will change directions while turning the knob. When I turn it clockwise it'll start to rotate clockwise and then it'll change direction randomly to counter-clockwise and then switch back, etc. I'm using this language from dcs bios in my sketch: DcsBios::RotaryEncoder hsiHdgKnob("HSI_HDG_KNOB", "-3200", "+3200", PIN_A, PIN_B); I have the pins connected to digital input pins on the arduino. I have the same exact setup for the course knob and it works perfectly fine. Any ides or suggestions as to why it's doing this and how to fix it?
  16. It worked!!! But I did have to type TRUE in all lower case. It was giving me an error code when I typed it in all caps. I searched and found that TRUE is no longer allowed and you have to use true. Thanks so much No1sonUK!!!!
  17. Ok awesome, I'll try it later on today. Thanks again!!
  18. Awesome, I'll give this a shot, thanks!! How do I set the dcsbios switch to read "True"? I don't know what that means.
  19. I'm trying to wire up and program the navigation switches on the Navigation Control Panel of the A10C. I have 5 pin latching 12V switches with an LED. I'm connecting them to an Arduino Mega to control them and using DCS BIOS. I have tried every wiring combination imaginable and I can't get the switches and LED to work correctly. I want the LED in the switches to only illuminate when the switch is pressed and "ON". According to some videos I've watched, I should connect the NO and LED + together, and then connect them to an input on the Arduino. The C should connect to 12V+, and the LED- should go to 12V- and Arduino GND. When I do this, the LED is dimmly lit the entire time, regardless if the switch is pressed in/ON or OFF, and the switch in the cockpit goes crazy, in and out really fast. If I push the switch in/ON, the LED turns bright and the switch in the cockpit continues to go crazy in and out. I tried separating the NO and LED + and putting them each in to their own input in the Arduino since DCS BIOS has sketch lines for each of them, and the LED was still dimmly lit the entire time and it did turn Bright again when pushed, but the switch itself, while it didn't go crazy, it didn't work at all. Does anyone have any clue how to wire these switches so that the LED is only ON when the switch is ON and the switch actually turns ON and OFF like it's supposed to? Here is the switch that I'm using: https://www.ebay.com/itm/114958766441?var=415078452986
  20. Thanks guys. I actually was able to find a library with the OLED file and found a sketch in the forums that worked!! Thanks again for offering to help, it's much appreciated!!
  21. I don't recall honestly, I'm sorry. I'll know once I start that project back up again.
  22. I figured out what the error code meant and I found a library with the file OLedI2C.h and installed it. I still need a sketch though to work with DCS BIOS and the A10C CMSC panel. I tried Rapti's and No1sonuk. I was able to upload both on to the arduino but nothing is being displayed on my OLED. I double checked my wiring and it's correct, with SCL connected to SCL and SDA connected to SDA on the UNO and VCC to 5volt and GND to GND. Does anyone know why nothing is being displayed? Or maybe have a different sketch for the specific OLED I have, which is listed above?
  23. OK guys, I'm finally working on getting my OLED display up and running with arduino and the CMSC Panel for the A10C. I tried Rapti's sketch but I got an error code that says "OLedI2C.h: No such file or directory". Any idea what this means or how to fix it? Or does anyone else have a sketch I can try for what I'm trying to do? This is the OLED display I'm using: https://www.ebay.com/itm/165013228347?hash=item266b8e0b3b:g:EWQAAOxy4t1SmHym IIC / I2C 2002 20x02 OLED Module Display - For Arduino / PIC / AVR / ARM
  24. The Hot Plug did it! Didn't even know that was there. Lol Had to do some re-binding but nothing is double assigned now and working perfectly. Thank you!!
  25. I put my widescreen, projectors, and displaying DCS on hold for a little while to finish building the simpit first. I did get it figured out before I stopped working on it though, but unfortunately I can't remember what I did. I know this doesn't help you right now but I'm going to be finishing my simpit soon and will be back to the widescreen, projectors and displaying DCS and setting everything up again. Yes, the warthogproject does currently use 3 projectors on to a 270 degree widescreen and a separate monitor for the instrument panel. That's what my end goal is as well, although I'm doing what he did first, which is just using 2 projectors warped on a 180 degree widescreen and a third monitor for the instrument panel. You can try reaching out to him on his website, but he may take a while to get back to you, if he gets back to you at all. I've written to him several times over the past year or two while working on my project since I'm basically modeling my complete simpit, widescreen and projectors after his amazing work. He has only written back to me I believe twice, and its usually months later. His website says he'll respond within 48 hours or something like that, but I can tell you that isn't the case. At least not for me. lol I would at least give it a shot, maybe he'll get back to you and help you. If he doesn't, I have had pretty good luck with emailing the software company. They usually get back to you pretty quickly. Although sometimes it's kind of hard trying to explain what you're trying to do or the issues you're having and getting a decent response. It may take a few emails back and forth to clear everything up. Worse case scenario, if you're still having issues, let me know and I'll check back with you when I start working on my displays again.
×
×
  • Create New...