Jump to content

MrLouisMC

Members
  • Posts

    3
  • Joined

  • Last visited

Everything posted by MrLouisMC

  1. Hello, I've been working on a simpit for the F18C and understand the basic principles of how to connect everything with Arduino but recently I have some problems getting the 7 segment displays to work for my UFC. As a test I'd like to show the first row of 4 characters on my 4 7 segment displays. When I try this however the characters do not display correctly, this is clearly a fault in my coding (a simple counter works without DCS-bios) but I can't figure out where it went wrong. I am using an Arduino NANO with DCS-BIOS. Code: #define DCSBIOS_IRQ_SERIAL #include "DcsBios.h" #include "SevSeg.h" SevSeg sevseg; //Instantiate a seven segment controller object void onUfcComm1DisplayChange(char* newValue) { sevseg.setChars(newValue); } DcsBios::StringBuffer<2> ufcComm1DisplayBuffer(0x7424, onUfcComm1DisplayChange); void setup() { byte numDigits = 4; byte digitPins[] = {2, 3, 4, 5}; byte segmentPins[] = {6, 7, 8, 9, 10, 11, 12, 13}; bool resistorsOnSegments = false; // 'false' means resistors are on digit pins byte hardwareConfig = COMMON_ANODE; // See README.md for options bool updateWithDelays = false; // Default 'false' is Recommended bool leadingZeros = true; // Use 'true' if you'd like to keep the leading zeros bool disableDecPoint = false; // Use 'true' if your decimal point doesn't exist or isn't connected sevseg.begin(hardwareConfig, numDigits, digitPins, segmentPins, resistorsOnSegments, updateWithDelays, leadingZeros, disableDecPoint); DcsBios::setup(); } void loop() { sevseg.refreshDisplay(); // Must run repeatedly DcsBios::loop(); }
  2. So the problem i have with making a server so I can play with friends is that I can't get port forwarding to work. I am not able to set a static IP on my router and when I open ports and i check if they are open they say they aren't open. I have been looking for solutions but I can't seem to find one. Is there a possibility windows firewall is blocking things or can I run a server with hamachi or something else?
  3. I am planning to upgrade my 1050ti so that i can play 5760x1080 @60FPS. I have been looking for 1080ti's but here in my coutry they are pretty expensive bcs they are not being made and i don't want to look in the 20 series yet. I found on gpu.userbenchmark.com that the 1080ti is only 6% faster in overall performance then the RX5700XT at double the price for the 1080ti. What should i go for? Or what is the best card for 5760x1080p @60FPS on Max settings?
×
×
  • Create New...