Jump to content

Scorch

Members
  • Posts

    39
  • Joined

  • Last visited

About Scorch

  • Birthday 01/01/1900

Recent Profile Visitors

The recent visitors block is disabled and is not being shown to other users.

  1. I'm having a similar issue. I see the mappings in the axis section of the controls yet they are grayed out. This is a fresh install of Track IR since the machine was built. Any suggestions appreciated. Thanks.
  2. It appears DCS-BIOS does not like the Leonardo board. I have a MEGA2560 on hand it it works!
  3. Moving the Saved Games folder back to the C drive was pretty simple. Now I'm stuck on the example setting up the Master Caution to pin 13. It appears this code won't work with the Arduino Leonardo. There's a comment in the code indicting the controller this code works with This should work on any Arduino that has an ATMega328 controller (Uno, Pro Mini, many others). That is indeed unfortunate. Is this in fact correct? I'm getting this error trying to upload this to the board. Arduino: 1.8.15 (Windows 10), Board: "Arduino Leonardo" In file included from D:\Users\nzero\Documents\Arduino\MasterCautionTest\MasterCautionTest.ino:11:0: C:\Program Files (x86)\Arduino\libraries\dcs-bios-arduino-library-0.2.11\src/DcsBios.h: In function 'void DcsBios::USART_RX_vect()': C:\Program Files (x86)\Arduino\libraries\dcs-bios-arduino-library-0.2.11\src/DcsBios.h:43:25: error: 'UDR0' was not declared in this scope volatile uint8_t c = UDR0; ^~~~ C:\Program Files (x86)\Arduino\libraries\dcs-bios-arduino-library-0.2.11\src/DcsBios.h:43:25: note: suggested alternative: 'UDR1' volatile uint8_t c = UDR0; ^~~~ UDR1 C:\Program Files (x86)\Arduino\libraries\dcs-bios-arduino-library-0.2.11\src/DcsBios.h: In function 'void DcsBios::setup()': C:\Program Files (x86)\Arduino\libraries\dcs-bios-arduino-library-0.2.11\src/DcsBios.h:18:14: error: 'PRR' was not declared in this scope #define PRR0 PRR ^ C:\Program Files (x86)\Arduino\libraries\dcs-bios-arduino-library-0.2.11\src/DcsBios.h:48:4: note: in expansion of macro 'PRR0' PRR0 &= ~(1<<PRUSART0); ^~~~ C:\Program Files (x86)\Arduino\libraries\dcs-bios-arduino-library-0.2.11\src/DcsBios.h:18:14: note: suggested alternative: 'PRR0' #define PRR0 PRR ^ C:\Program Files (x86)\Arduino\libraries\dcs-bios-arduino-library-0.2.11\src/DcsBios.h:48:4: note: in expansion of macro 'PRR0' PRR0 &= ~(1<<PRUSART0); ^~~~ C:\Program Files (x86)\Arduino\libraries\dcs-bios-arduino-library-0.2.11\src/DcsBios.h:49:4: error: 'UBRR0H' was not declared in this scope UBRR0H = 0; ^~~~~~ C:\Program Files (x86)\Arduino\libraries\dcs-bios-arduino-library-0.2.11\src/DcsBios.h:49:4: note: suggested alternative: 'UBRR1H' UBRR0H = 0; ^~~~~~ UBRR1H C:\Program Files (x86)\Arduino\libraries\dcs-bios-arduino-library-0.2.11\src/DcsBios.h:50:4: error: 'UBRR0L' was not declared in this scope UBRR0L = 3; // 250000 bps ^~~~~~ C:\Program Files (x86)\Arduino\libraries\dcs-bios-arduino-library-0.2.11\src/DcsBios.h:50:4: note: suggested alternative: 'UBRR1L' UBRR0L = 3; // 250000 bps ^~~~~~ UBRR1L C:\Program Files (x86)\Arduino\libraries\dcs-bios-arduino-library-0.2.11\src/DcsBios.h:51:4: error: 'UCSR0A' was not declared in this scope UCSR0A = 0; ^~~~~~ C:\Program Files (x86)\Arduino\libraries\dcs-bios-arduino-library-0.2.11\src/DcsBios.h:51:4: note: suggested alternative: 'UCSR1A' UCSR0A = 0; ^~~~~~ UCSR1A C:\Program Files (x86)\Arduino\libraries\dcs-bios-arduino-library-0.2.11\src/DcsBios.h:52:4: error: 'UCSR0C' was not declared in this scope UCSR0C = (1<<UCSZ00) | (1<<UCSZ01); ^~~~~~ C:\Program Files (x86)\Arduino\libraries\dcs-bios-arduino-library-0.2.11\src/DcsBios.h:52:4: note: suggested alternative: 'UCSR1C' UCSR0C = (1<<UCSZ00) | (1<<UCSZ01); ^~~~~~ UCSR1C C:\Program Files (x86)\Arduino\libraries\dcs-bios-arduino-library-0.2.11\src/DcsBios.h:52:17: error: 'UCSZ00' was not declared in this scope UCSR0C = (1<<UCSZ00) | (1<<UCSZ01); ^~~~~~ C:\Program Files (x86)\Arduino\libraries\dcs-bios-arduino-library-0.2.11\src/DcsBios.h:52:17: note: suggested alternative: 'UCSZ10' UCSR0C = (1<<UCSZ00) | (1<<UCSZ01); ^~~~~~ UCSZ10 C:\Program Files (x86)\Arduino\libraries\dcs-bios-arduino-library-0.2.11\src/DcsBios.h:52:31: error: 'UCSZ01' was not declared in this scope UCSR0C = (1<<UCSZ00) | (1<<UCSZ01); ^~~~~~ C:\Program Files (x86)\Arduino\libraries\dcs-bios-arduino-library-0.2.11\src/DcsBios.h:52:31: note: suggested alternative: 'UCSZ11' UCSR0C = (1<<UCSZ00) | (1<<UCSZ01); ^~~~~~ UCSZ11 C:\Program Files (x86)\Arduino\libraries\dcs-bios-arduino-library-0.2.11\src/DcsBios.h:54:4: error: 'UCSR0B' was not declared in this scope UCSR0B = (1<<RXEN0) | (1<<TXEN0) | (1<<RXCIE0); ^~~~~~ C:\Program Files (x86)\Arduino\libraries\dcs-bios-arduino-library-0.2.11\src/DcsBios.h:54:4: note: suggested alternative: 'UCSR1B' UCSR0B = (1<<RXEN0) | (1<<TXEN0) | (1<<RXCIE0); ^~~~~~ UCSR1B C:\Program Files (x86)\Arduino\libraries\dcs-bios-arduino-library-0.2.11\src/DcsBios.h:54:17: error: 'RXEN0' was not declared in this scope UCSR0B = (1<<RXEN0) | (1<<TXEN0) | (1<<RXCIE0); ^~~~~ C:\Program Files (x86)\Arduino\libraries\dcs-bios-arduino-library-0.2.11\src/DcsBios.h:54:17: note: suggested alternative: 'RXEN1' UCSR0B = (1<<RXEN0) | (1<<TXEN0) | (1<<RXCIE0); ^~~~~ RXEN1 C:\Program Files (x86)\Arduino\libraries\dcs-bios-arduino-library-0.2.11\src/DcsBios.h:54:30: error: 'TXEN0' was not declared in this scope UCSR0B = (1<<RXEN0) | (1<<TXEN0) | (1<<RXCIE0); ^~~~~ C:\Program Files (x86)\Arduino\libraries\dcs-bios-arduino-library-0.2.11\src/DcsBios.h:54:30: note: suggested alternative: 'TXEN1' UCSR0B = (1<<RXEN0) | (1<<TXEN0) | (1<<RXCIE0); ^~~~~ TXEN1 C:\Program Files (x86)\Arduino\libraries\dcs-bios-arduino-library-0.2.11\src/DcsBios.h:54:43: error: 'RXCIE0' was not declared in this scope UCSR0B = (1<<RXEN0) | (1<<TXEN0) | (1<<RXCIE0); ^~~~~~ C:\Program Files (x86)\Arduino\libraries\dcs-bios-arduino-library-0.2.11\src/DcsBios.h:54:43: note: suggested alternative: 'RXCIE1' UCSR0B = (1<<RXEN0) | (1<<TXEN0) | (1<<RXCIE0); ^~~~~~ RXCIE1 C:\Program Files (x86)\Arduino\libraries\dcs-bios-arduino-library-0.2.11\src/DcsBios.h: In function 'void DcsBios::usart_tx(const char*)': C:\Program Files (x86)\Arduino\libraries\dcs-bios-arduino-library-0.2.11\src/DcsBios.h:67:13: error: 'UCSR0A' was not declared in this scope while(!(UCSR0A & (1<<UDRE0))); // wait until TX buffer is empty ^~~~~~ C:\Program Files (x86)\Arduino\libraries\dcs-bios-arduino-library-0.2.11\src/DcsBios.h:67:13: note: suggested alternative: 'UCSR1A' while(!(UCSR0A & (1<<UDRE0))); // wait until TX buffer is empty ^~~~~~ UCSR1A C:\Program Files (x86)\Arduino\libraries\dcs-bios-arduino-library-0.2.11\src/DcsBios.h:67:26: error: 'UDRE0' was not declared in this scope while(!(UCSR0A & (1<<UDRE0))); // wait until TX buffer is empty ^~~~~ C:\Program Files (x86)\Arduino\libraries\dcs-bios-arduino-library-0.2.11\src/DcsBios.h:67:26: note: suggested alternative: 'UDRE1' while(!(UCSR0A & (1<<UDRE0))); // wait until TX buffer is empty ^~~~~ UDRE1 C:\Program Files (x86)\Arduino\libraries\dcs-bios-arduino-library-0.2.11\src/DcsBios.h:68:5: error: 'UDR0' was not declared in this scope UDR0 = *c++; // write byte to TX buffer ^~~~ C:\Program Files (x86)\Arduino\libraries\dcs-bios-arduino-library-0.2.11\src/DcsBios.h:68:5: note: suggested alternative: 'UDR1' UDR0 = *c++; // write byte to TX buffer ^~~~ UDR1 exit status 1 Error compiling for board Arduino Leonardo. This report would have more information with "Show verbose output during compilation" option enabled in File -> Preferences. Is this because I'm trying to use the Leonardo vs say the UNO? Any advice appreciated. Thanks!
  4. Hello all, I'm working on my first button. I'm running into an issue getting DCS-BIOS to detect my installs. The default install path is C yet my DCS is installed on C (stable) D (openbeta). My saved games folder is on D I'm thus far unsuccessful in getting DCS-BIOS to detect this. What am I doing wrong? Thanks! I'm here on the tutorial: https://dcs-bios.readthedocs.io/en/latest/dcs-connection.html Attached are images of the issue. This is the text displayed below the checkboxes: "error: profile directory does not exist, please start and exit DCS and try again: C:\Users\nzero\Saved Games\DCS.openbeta" and "error: profile directory does not exist, please start and exit DCS and try again: C:\Users\nzero\Saved Games\DCS " respectively. So far here's what I've done to try to get this to detect the Saved Games folder: Added the blurb indicated to both Export.lua files (attached) Started and closed DCS both stable and openbeta Restarted DCS-BIOS yet it's not picking up the correct path to Saved Games. How can I get this to "see" the correct path? Thanks! Export.lua Export.lua
  5. Thank you. Might you have any advise or link to a resource to help me layout the matrix itself? I find this to be confusing at this point. Thank!
  6. Thanks all. I’ll back up and start small. Is it possible to have two of these switches along with a Pro Micro control the seat height adjustment and the opening and closing of the canopy? These DIY button boxes look so easy on YouTube. I’m overwhelmed at the moment. Thanks again all. We’ll come back to the ACHP panel after I do a few simpler things.
  7. Hello all, I'm working on my first button box wish is planned to be Arduino Pro Micro controlled. This box will include some simple SPST switches that I understand how to setup for the Arduino. What I do not understand is there are five AHCP switches that I think are on/on/on. I have this switch from Digikey. I don't understand how to wire this switch such that I can use the on/on/on functionality and work it into my row/column matrix for the Pro Micro. This drawing shows pins 3 & 5 are jumped. I get that. Position 1 for example requires pins 2-3, 5-6 (all this information is on the drawing in the link). Would a kind soul please help me understand this so I can build it please? Thank you!
  8. I'm looking for the switches for the AHCP. Would you please share your source for the toggle switches on this panel? Thanks.
  9. Setting up my first DCS dedicated server today. I'd like to use Tacview on it. I own an advanced license through Steam. This is installed on my DCS client which is a different PC. In order to install Tacview on my server must I purchase a 2nd license? Thank you.
  10. How does one create a new keybinding? Thanks!
  11. Hello all, I now have the hardware to fly DCS in proper VR. Unfortunately, I'm also low vision (legally blind). I have Ocular Albinism I can't lean in close enough to read the controls/panels. Leaning into the HUD does not make it any bigger. It only appears the same size/distance. At least for me. What options, if any, are there to zoom in with VR? I looked for the VR zooms in the UI layer of the controls menu. It's empty. I've put a screenshot on my Google Drive: https://drive.google.com/file/d/1gb9lWZIYL9ghQ76NS4LGZ0RUUSYeyAzE/view?usp=sharing Any help appreciated. Thank you! Edit: A repair got the UI Layer controls back for me. Now, the VR Zoom for the cockpit is not quite enough and the Spyglass zoom again, for the cockpit is a bit too much. Is there a config file where I can adjust the amount of zoom in these two and/or create a new one? Thanks. Edit Two: I found this thread It looks like just what I need. How does one create a new keybinding?
  12. Hello all. Please forgive me for failing to find it. I'm guessing it's in the forum and/or YouTube, I just failed to find it. I'm new to the GUI updater. I want to create a few different builds however, I don't understand how. Do I need multiple installs of DCS and my purchased content? Does the licensing allow for this? How do I set this up? Is it as simple as creating a separate directory and installing as if it were a new single install and point the updater to each .exe? Where would build #2, for example, create a saved games folder given the original exists on drive C: in the default location for example? Please forgive my failing to find the answer myself. I did try. Thank you.
  13. Would like to try the Vive in DCS, but can't seem to get it going. What settings in the sim, if any must I change manually beyond the use VR headset checkbox in the settings? Should I change the resolution from 1 monitor at 1920x1080? If so, to what? Thanks!
  14. Hello all, I'm guessing the answer to this question is yes, but I want to make sure. These campaign add-ons that are available for A10-C can my buddy and I fly the missions together? I understand we would each have to buy for example a license for http://www.digitalcombatsimulator.com/en/shop/campaigns/a-10c_enemy_within_campaign/ so we both have the content. I'm not interested in flying alone. Thanks!
×
×
  • Create New...