Jump to content

Detent666

Members
  • Posts

    7
  • Joined

  • Last visited

About Detent666

  • Birthday 03/19/1972

Personal Information

  • Flight Simulators
    DCS World
    Falcon BMS
  • Location
    England

Recent Profile Visitors

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

  1. Can anyone share their code for this, I've got Nano connected to a SH1106 my code below only to show the 10k portion to prove, but not getting the required display. /*DCS BIOS FFI FOR VIPER*/ #define DCSBIOS_IRQ_SERIAL #include "DcsBios.h" #include <Arduino.h> #include <U8g2lib.h> #include <Wire.h> U8G2_SH1106_128X64_NONAME_F_HW_I2C u8g2(U8G2_R0, /* reset=*/ U8X8_PIN_NONE); unsigned int flowtenk; int tenko; void onFuelflowcounter10kChange(unsigned int newValue) { flowtenk = (newValue); tenko = map(flowtenk, 0,65535,0,9); } DcsBios::IntegerBuffer fuelflowcounter10kBuffer(0x44d6, 0xffff, 0, onFuelflowcounter10kChange); void setup(void) { DcsBios::setup(); u8g2.begin(); u8g2.clearBuffer(); u8g2.setFont(u8g2_font_7x13_tf); } void loop(void) { u8g2.clearBuffer(); u8g2.drawStr(35,10, "FUEL FLOW"); u8g2.drawStr(35,45, tenko); u8g2.sendBuffer(); // Transfer to display delay(1000); } ```
  2. Thanks MNissen, didn't even think of going larger. Works like a dream just got to test on a crowded mission I'm running an Nvidia 2060 so hopefully the overhead of non displayed pixels wont give me any problems........may be the excuse to get another graphics card (if any available) Thanks also to Iceman for helping. Pic of my setup attached for those interested.
  3. Thanks for the help, just tried your lua but the same results two pics attached and as I've said before the anomolies only occur on the two side monitors not the central monitor. This has only happened since the move from 2.5 to 2.7.
  4. Many apologies Iceman555 I've not been on the forum for a while. It makes no difference if I use absolute values the issues with texture levels persist only disappearing if I use the same size for all monitors I've even changed the values for the screens in the custom lua between my required and all the same and the problem comes and goes.
  5. Hi All, Any help or direction to help would be much appreciated I have been hosting multiplayer missions on the PC that I play on with no issues, I have now taken the step of using another PC with a dedicated server on it. I can access the server with the Webgui, load and run missions and connect with my PC which is on the same network. The issue is that other players cannot see the server from remote locations they just get 'Server Offline'. If I start a server on my client PC they can be seen but not the dedicated server. I have opened the IP address of the server to 10308 and can see the port open. Any suggestions?? Update - port forwarding was the issue, switched the server to port 10309 and all was well. Just a little bit of learning needed.
  6. I'm having an issue on my multi resolution monitor setup, left and right monitors are 22" 1920x1080 and centre is 32" 2560x1440 everything was Ok in 2.5 with a custom lua. Now in 2.7 left and right monitors suffer from displaced textures, river bed is at ground level whilst water and reflections are looking like they are at different heights or going through clouds there is an open area next to a cockpit texture. Only changes in the lua are the screen sizes. Image and lua added. If I switch to the standard 3 monitor setup with all monitors equal the issue is gone. Any help would be appreciated 3Cameras_Cus2.lua
×
×
  • Create New...