Jump to content

Vinc_Vega

Members
  • Posts

    640
  • Joined

  • Last visited

Everything posted by Vinc_Vega

  1. You may have a look into the below posting. Regards, Vinc
  2. You'll need lots of RAM and speed to bring up a resolution of 256x64 pixel. We therefore decided to go with the ESP32. Pls. keep us informed about your progress. Regards, Vinc
  3. I already posted an update to your code here It's ported to the U8g2 graphics library and uses new invertable fonts. Beware of that it has to be used with the ESP32 boards. Regards, Vinc
  4. Update: A while ago JohnnyChicago and me developed code, working with the ESP32 board and the U8g2lib library, running at an 256x64 pixels SH1122 display. We implemented a newly created font, compatible with the U8g2lib library and included inverted characters. So items automatically are highlighted for different menus. However, the developer mostly did not apply the inversion logic to the asterisk (*) so we decided to use only the inverted character inside the fonts file. Most of the code is commented so you may alter it if necessary. Regards, Vinc
  5. Something like discussed here? Regards, Vinc
  6. Using DcsBios, the only line within my export.lua file reads as follows: dofile(lfs.writedir()..[[Scripts\DCS-BIOS\BIOS.lua]]) You may follow the -> tutorial <- for an installation. Beware of that the control-reference. html part may no longer work. Regards, Vinc
  7. Yes, there are some temp data: C:\Users\...\AppData\Roaming\DCS-BIOS C:\Users\...\AppData\Local\DCS.openbeta C:\Users\...\AppData\Local\DCSFlightpanels_(DCSFP) Regards, Vinc
  8. How about using the push button function of the above referenced 5 direction switch to bring up a center command to the cockpit joystick? Regards, Vinc
  9. Hi Les, beware of that the switches are really tiny. They are 7 mm in square, surface mounted. Regards, Vinc
  10. Edit: Alternative such 5 directions modules may be used. They probably could be de-soldered and used separately to save space. Sparkfun without the breakeout board: https://www.sparkfun.com/products/10063 Regards, Vinc
  11. Its a whole disk and not a small pointer sitting on the stepper. Not sure if the load is that light. Try and find out if and how many steps it will loose. Regards, Vinc
  12. Even with the proposed correction you definitely need a zero detection sensor for the HSI. Else your disk may drift after a while. Have a look into the sketch for the Altimeter and the related postings. I think that the logic can be applied to your gauge. Btw. your hardware looks great so far Regerds, Vinc
  13. Yeah, the new script expects 9 inputs instead of the real 5. No wonder, must be a bug! Regards, Vinc
  14. How about switchable USB hubs? Just google it, they even are available without a power supply line. Regards, Vinc
  15. Hi Les, I always try not to use pin 13 as input because of the onboard LED. It works good as digital output. Regards, Vinc
  16. Thank you for the reply Regards, Vinc
  17. What's the purpose of the '/b' flag? Regards, Vinc
  18. That's what I did too. Taking the console lights signal from DCS and sending it to a PWM pin to control the backlight via MOSFET. Different light levels may be adjusted or calibrated within the Arduino code of the respective panel. Regards, Vinc
  19. I'd like the cold beer option. Regards, Vinc
  20. Hi Les, what happens if you use print(newValue) instead of println(newValue)? Furthermore, if using a standard font you may set foreground and background color for the text, e.g. setTextColor(WHITE, BLACK). So the new text is printed over the old text without the need to clear the screen. Regards, Vinc
  21. Hi, I used common GND for my BCD switches. Regards, Vinc
  22. ... Edit: And don't forget to remove the Serial statement from the setup section Regards, Vinc
  23. Have you tried the example from the Adafruit library, including their wiring? https://github.com/adafruit/Adafruit_SSD1305/tree/master/examples/ssd1305test Regards, Vinc
  24. Hi Les, why don't you use the standard hardware SPI pins? For the NANO they are as follows: 10 CS, 11 MOSI, 12 MISO, 13 CLK DC may be set to 9 and Reset to 8 or so. Regards, Vinc
  25. Why don't use the advanced code and talk to more than one output?
×
×
  • Create New...