Jump to content

Kenpilot

Members
  • Posts

    199
  • Joined

  • Last visited

Everything posted by Kenpilot

  1. 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!
  2. Thanks so much Vinc!!! I appreciate you taking the time to look that up and send me the sketch for it. I'm still going to check out the link you sent as well to try and educate myself on this stuff. I'm going to try this out in the next few days and hopefully get it working. Thanks again!!
  3. 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?
  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 nullyou click FLY, it warps in to what you see in the pic. Thanks for any help!!
  5. 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!
  6. Thanks guys, I'll give it a shot!
  7. In the A10, when I hide the cockpit view to where its just the HUD showing, the Left MFCD appears on the lower left corner of the screen. Is there any way to hide it in this view? Thanks!
  8. The Rotary Encoder did it! I have it working now. I'm also running the new DCS Bios. Thanks for all the help guys!!
  9. 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!
  10. 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!!
  11. lol I did, but a very good question! Thanks for the response!
  12. I'm using Version V.0.10.0+64 Code: DcsBios::PotentiometerEWMA<5, 128, 5> saspYawTrim("SASP_YAW_TRIM", PIN)
  13. 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!
  14. 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!!
  15. 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!!
  16. That looks about right, thanks Vinc! I'm still building the panel but I'll test it out once I finish it. Thanks again!!
  17. 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!!
  18. 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!!
  19. 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!
  20. 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?
  21. Disregard, I got it working!! Thanks for the help!!
  22. 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'
×
×
  • Create New...