-
-
Notifications
You must be signed in to change notification settings - Fork 68
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
No Brightness Control in F-16. #113
Comments
its not Flightpanel related more the BIOS Side. |
Checking right now. I'll let you know results. Thanks. |
Alright I just tested it - It's not working... This is my Arduino Code #define DCSBIOS_IRQ_SERIAL #include "DcsBios.h" DcsBios::LED lightInstPnlFlood(0x4482, 0x0001, flood_light); void setup() { void loop() { As I adjust the knob, LED brightness itselft does not change according to its value. It's just blinking when I adjust it. And this is what I recorded while testing. This video shows what's actually happening. |
the lights are not a "LED" anymore. the are "Servos" that gives you an % valve. the code must changed to DcsBios::IntegerBuffer with some additions. |
Thanks for reply. I already found that out like you said. Therefore I'm working out for it. |
What's the range of the return value of Servo? isn't it from 0 to 65535? |
My revised code for my flood light is #define DCSBIOS_IRQ_SERIAL #include "DcsBios.h" void onLightConslesFloodChange(unsigned int newValue) { void setup() { void loop() { But it seems not working for now. I'm trying to investigate further. |
I can’t confirm the dcs-bios side, but once you have the address/offset correct, you won’t need to much code on the arduino side. The library already has a control that does what you want: https://github.com/DCSFlightpanels/dcs-bios-arduino-library/wiki/Dimmer |
Thanks for info. I've managed to work with Flood lights. |
Top! |
I'm trying to set flood light brightness according to position of the flood light knob.
But it seems flood light parts only emits 0 for off and 1 for on. Is there any options that I can control brightness of panel(or flood light itself)?
(By the way I'm using arduino not Flightpanel).
The text was updated successfully, but these errors were encountered: