hrnet940 Posted November 22, 2021 Posted November 22, 2021 I just tried to setup a potentiometer for testing to figure out how to use them and received the error in the attached image. Any and all help will be greatly appreciated. I tried to follow the documentation with DCS BIOS. Thanks, Wayne Wayne Wilson AKA: hrnet940 Alienware Aurora R3, i7 3820 3.5GHz(4.2GHz setting) processor, EVGA Nvidia RTX 2070 8GB Graphics, 16GB Ram, 1TB SSD.
No1sonuk Posted November 23, 2021 Posted November 23, 2021 Try: DcsBios::Potentiometer comTacan("COM_TACAN", A4);
hrnet940 Posted November 23, 2021 Author Posted November 23, 2021 Thanks. It worked, not that I doubted you for one second. This was my second last thing to figure out and test, I hope. I have some circuit breakers here and would love to use them in my FA-18C cockpit. When I attach them to the Arduino/Mega 2560 they are reversed. Any idea on how to invert them in DCS BIOS to make them work? Wayne Wayne Wilson AKA: hrnet940 Alienware Aurora R3, i7 3820 3.5GHz(4.2GHz setting) processor, EVGA Nvidia RTX 2070 8GB Graphics, 16GB Ram, 1TB SSD.
crash test pilot Posted November 23, 2021 Posted November 23, 2021 Assuming you use either the switch2pos or actionbutton command; you can use a "true" argument which inverts the output. Use like this: DcsBios::Switch2Pos starterCover("STARTER_COVER", 3, true); 1
No1sonuk Posted November 23, 2021 Posted November 23, 2021 38 minutes ago, crash test pilot said: Assuming you use either the switch2pos or actionbutton command; you can use a "true" argument which inverts the output. Use like this: DcsBios::Switch2Pos starterCover("STARTER_COVER", 3, true); Now I've learned something new today...
hrnet940 Posted November 29, 2021 Author Posted November 29, 2021 Thanks for the information. I will give this a try the next time I get some time to test and get these circuit breakers working. Wayne Wayne Wilson AKA: hrnet940 Alienware Aurora R3, i7 3820 3.5GHz(4.2GHz setting) processor, EVGA Nvidia RTX 2070 8GB Graphics, 16GB Ram, 1TB SSD.
hrnet940 Posted December 5, 2021 Author Posted December 5, 2021 On 11/23/2021 at 6:47 AM, crash test pilot said: Assuming you use either the switch2pos or actionbutton command; you can use a "true" argument which inverts the output. Use like this: DcsBios::Switch2Pos starterCover("STARTER_COVER", 3, true); I just tried this with one of my circuit breakers and it worked great. Thanks! Wayne Wayne Wilson AKA: hrnet940 Alienware Aurora R3, i7 3820 3.5GHz(4.2GHz setting) processor, EVGA Nvidia RTX 2070 8GB Graphics, 16GB Ram, 1TB SSD.
No1sonuk Posted December 5, 2021 Posted December 5, 2021 On 11/23/2021 at 11:47 AM, crash test pilot said: Assuming you use either the switch2pos or actionbutton command; you can use a "true" argument which inverts the output. Use like this: DcsBios::Switch2Pos starterCover("STARTER_COVER", 3, true); Out of curiosity: Could that be used to drive 2 different signals with one switch? So it sends one signal when on and another when off? I'm not thinking of any particular use at the moment.
Recommended Posts