hy-fye1
Members-
Posts
19 -
Joined
-
Last visited
Content Type
Profiles
Forums
Events
Everything posted by hy-fye1
-
Hi, vielen Dank für die Antworten. Habe es mit dem sendDcsBiosMessage-Befehl gelöst, den kannte ich noch nicht. Funzt einwandfrei.
-
Ein bischen kann ich programmieren (Anfänger), aber mein wissen ist sehr begrenzt. Die Seite kenne ich, aber hat ja nichts mit DCS-BIOS zu tun. Ich habe den Portexpander (2x) für mein F-16C Caution Panel benutzt um die 32 LED's damit zu steuern, aber ich weiß nicht, wie ich Schalter, also inputs damit abfragen kann.
-
Hallo, das hilft mir nicht weiter, weil englisch.
-
Hallo, hat jemand eine Idee, wie man den Portexpander MCP23017 als Eingangserweiterung unter DCSBIOS programmiert? Danke.
-
Hi, ja, Haken ist gesetzt.
-
Hallo, weiß jemand, ob es eine Funktion gibt, dass DCS (DCSBIOS) beim Betreten des Cockpits (F-16C) die Schalterstellungen meiner Hardware-Panels synchronisiert? Ich muss jedes mal erst jeden Schalter betätigen, dass DCS mitbekommt wie die Schalterstellung ist. Viele Grüße Markus
-
Thank you very much, that help's. Best regards Markus
-
Hi everyone, is there a list of sendDcsBiosMessage-commands for the F-16? Thanks in forward Best regards Markus
-
Hi Hans, that helps. Thank you very much. Cheers Markus
-
Hi Hans, thank's for your reply. It could work like this, but i dont know where i can find the command for sendDcsBiosMessage. In your case it's "UHF_PRESET_SEL". Cheers Markus Sorry for my very bad english
-
Hi, Is this sketch compatible with the f-16C IFF-Panel and the Digitran thumbwheels? Cheers Markus
-
Hi Hans, yep, that was the right one. Thanks Cheers Markus
-
Hi Hans, what Timer-Library did you use? Cheers Markus
-
Hi, vielen Dank für Eure Antworten, hat mich sehr gefreut. Mit der neuen Variable funktioniert's perfekt. Habe ich wieder was dazu gelernt. Vielen vielen Dank. Viele Grüße Markus
-
Hallo, hat niemand eine Idee?
-
Hallo Leute, ich weiß nicht, wie ich mein Problem verständlich schildern soll, aber ich versuchs mal. Ich versuche das ManualTrim-Panel der F-16 mit Alps-Motorpotentiometer (https://www.ebay.de/itm/264035904145) zu realisieren. Mein Problem ist, dass das Motorpoti immer in der Position 512 gehalten wird, auch wenn sich der Pitch-Wert in DCS-BIOS ändert. Ich muss dazu sagen, dass ich absoluter Arduino-Neuling bin und erst vor kurzem angefangen habe, mich mit der Programmierung zu befassen. Irgendwie wird der Pitch-Wert, der von DCS-BIOS kommt nicht in den pitch-Wert des Sketches übertragen. Was mache ich falsch? Wäre schön, wenn mir jemand weiterhelfen könnte. //#define DCSBIOS_RS485_SLAVE 28 //#define TXENABLE_PIN 2 #define DCSBIOS_DEFAULT_SERIAL #include "DcsBios.h" const int input1 = 3; // Input1 L293D const int input2 = 5; // Input2 L293D const int motPitchPot = A0; // Poti Alps Motorpotentiometer unsigned int pitch = 512; void onPitchTrimChange(unsigned int newValue) { unsigned int pitch = newValue; map(pitch, 0, 65535, 0, 1023); } DcsBios::IntegerBuffer pitchTrimBuffer(0x4404, 0xffff, 0, onPitchTrimChange); void setup() { DcsBios::setup(); pinMode(input1, OUTPUT); pinMode(input2, OUTPUT); pinMode(motPitchPot, INPUT); } void loop() { if(analogRead(motPitchPot) > pitch) { digitalWrite(input1, HIGH); digitalWrite(input2, LOW); } if(analogRead(motPitchPot) < pitch) { digitalWrite(input1, LOW); digitalWrite(input2, HIGH); } DcsBios::loop(); } Viele Grüße Markus
-
Hallo Leute, ich weiß nicht, wie ich mein Problem verständlich schildern soll, aber ich versuchs mal. Ich versuche das ManualTrim-Panel der F-16 mit Alps-Motorpotentiometer (https://www.ebay.de/itm/264035904145) zu realisieren. Mein Problem ist, dass das Motorpoti immer in der Position 512 gehalten wird, auch wenn sich der Pitch-Wert in DCS-BIOS ändert. Ich muss dazu sagen, dass ich absoluter Arduino-Neuling bin und erst vor kurzem angefangen habe, mich mit der Programmierung zu befassen. Irgendwie wird der Pitch-Wert, der von DCS-BIOS kommt nicht in den pitch-Wert des Sketches übertragen. Was mache ich falsch? Wäre schön, wenn mir jemand weiterhelfen könnte. //#define DCSBIOS_RS485_SLAVE 28 //#define TXENABLE_PIN 2 #define DCSBIOS_DEFAULT_SERIAL #include "DcsBios.h" const int input1 = 3; // Input1 L293D const int input2 = 5; // Input2 L293D const int motPitchPot = A0; // Poti Alps Motorpotentiometer unsigned int pitch = 512; void onPitchTrimChange(unsigned int newValue) { unsigned int pitch = newValue; map(pitch, 0, 65535, 0, 1023); } DcsBios::IntegerBuffer pitchTrimBuffer(0x4404, 0xffff, 0, onPitchTrimChange); void setup() { DcsBios::setup(); pinMode(input1, OUTPUT); pinMode(input2, OUTPUT); pinMode(motPitchPot, INPUT); } void loop() { if(analogRead(motPitchPot) > pitch) { digitalWrite(input1, HIGH); digitalWrite(input2, LOW); } if(analogRead(motPitchPot) < pitch) { digitalWrite(input1, LOW); digitalWrite(input2, HIGH); } DcsBios::loop(); }
-
Hi, can you send me too? Thanks in forward. Best Regards Markus
-
How do you change your code for using the DEDfont16px.c ?