Jump to content

Vinc_Vega

Members
  • Posts

    622
  • Joined

  • Last visited

5 Followers

About Vinc_Vega

Personal Information

  • Flight Simulators
    many
  • Location
    ETSI
  • Interests
    too much

Recent Profile Visitors

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

  1. It may have the SSD1306 chip, try this library to talk to your display: https://github.com/gadjet/1602-OLED-Arduino-Library Regards, Vinc
  2. @Aapje Thanks for sharing the info. If it's free programmable it may be used to easily control the user interface of DCS and save key commands of the HOTAS controllers, like center TrackIR or VR-Headsets. Regards, Vinc
  3. Hi there, you may try this snippet for lc2 void onUhfFreqDispChange(char* newValue) { lc2.setChar(0,0,newValue[0],false); // digit 1 lc2.setChar(0,1,newValue[1],false); // digit 2 lc2.setChar(0,2,newValue[2],true); // digit 3 with dot lc2.setChar(0,3,newValue[4],false); // digit 4 lc2.setChar(0,4,newValue[5],false); // digit 5 lc2.setChar(0,5,newValue[6],false); // digit 6 } DcsBios::StringBuffer<7> uhfFreqDispBuffer(0x45b2, onUhfFreqDispChange); Depending on the order of your LEDs, you may swap the digits (newValue[0] to [6]). Element 4 of the string (newValue[3]) is a dot and not a number, additionally the "true" on digit 3 than may be shifted to digit 4. As the radio display code seems to be similar to that of the A-10, you also may adapt that of my OLED displays. For the F16 you use the "UHF Manual Frequency Display" and "UHF CHAN Display" code snippets. Regards, Vinc
  4. Many thanks for your efforts. Will the Preschen air base from former East Germany be included? It was home of Fighter Squadron No 3, including two MiG-29 ant one MiG-21 wings. Thanks in advance, Regards, Vinc Edit: I found it in phase 3, thanks
  5. You can try to keep the boot button pressed during the upload process. Regards, Vinc
  6. Did you installed the latest ESP32 drivers? I put the following lines into File -> Preferences -> Additional board managers URLs: https://dl.espressif.com/dl/package_esp32_index.json https://espressif.github.io/arduino-esp32/package_esp32_dev_index.json https://raw.githubusercontent.com/espressif/arduino-esp32/gh-pages/package_esp32_dev_index.json https://raw.githubusercontent.com/espressif/arduino-esp32/gh-pages/package_esp32_index.json Regards, Vinc
  7. @questerymj01 You can readout the hardware SPI ports like I posted here: Regards, Vinc
  8. As there are a few on the market, please tell us exactly what ESP32 board do you use. Probably a link to the supplier would do it. Regards, Vinc
  9. If you still have issues to talk to the MCP23017, you may have a look how I described usage of that pin extender within my VHF FM radio panel. Btw. the tryToSendDcsBiosMessage commands can be replaced by your sendDcsBiosMessage code. Have a nice weekend, Regards, Vinc
  10. That's a good question from the mechanical point of view. And: why always a parallel way for information (here: this forum and discord) ? Regards, Vinc
  11. @Hammer3246 Have you already tried to declare two display objects? #include <TM1637TinyDisplay6.h> TM1637TinyDisplay6 display(4, 5);// Create a display object -> display for frequency TM1637TinyDisplay6 display2(11, 12);// Create a second display object -> display2 for channel Talk to both displays like so display.clear(); display2.clear(); The last lines of above code than must be changed in somethin like that // ---- edited code for a F-16 UHF CHAN Display display2.showNumber(digit7, false, 1, 0); display2.showNumber(digit8, false, 1, 1); // ---- end of edit Regards, Vinc
  12. Hi Hammer, The above code doesn't include a Preset Channel display. If you want to have that display e.g. to the last two digits of an already used 8 digit module, you can plug in additional lines to my function"show_UhfFrequency()". See below code snippets for markings "edited code for a F-16 UHF CHAN Display" to see where the changes have to be in the sketch. Beware of, that I neither touched the rest of for the A-10C UHF code nor tested the edited sketch with hardware. Note, that an additional variable "String uhfChan" is created in the head of the sketch to convert the output String of the Channel to an integer and use the "showNumber" feature of the TM1637 library in the end. Regards,, Vinc
  13. Hi Vega
    Do you have the ASI code for a 2.1 inch round display using the Qualia board?

     

    Thanks

    1. Vinc_Vega

      Vinc_Vega

      I'm sorry, but if you mean the Aircraft Speed Indicator (ASI) I unfortunately have nor code for displays.

      For the SAI (Standby Attitude Indicator) I neither re-wrote the code for a Qualia board nor have the bitmaps in 2.1 inch display resolution (480x480 px).

       

      Regards, Vinc

    2. Kerube

      Kerube

      Thanks, keep up the good work.

  14. Strange! Please tell us more in detail what microcontroller and display driver are in use and if you modified the hardware. Regards, Vinc
  15. You just deleted to much from the root sketch. Put the following line in front of the DCSBIOS_DISABLE_ SERVO definition: #define DCSBIOS_DEFAULT_SERIAL As the Serial port is used by DcsBios, you furthermore may uncomment the DEBUG definitions and Serial statements in your sketch to unblock communication. Regards, Vinc
×
×
  • Create New...