Jump to content

raptor909

Members
  • Posts

    35
  • Joined

  • Last visited

Everything posted by raptor909

  1. Hi I tried to tune with radio backup but not working. 1) Try in two different airports with a victor freq and uniform freq 2) Try on stable and openbeta 3) The radio control switch is in ON position 4) Try with radio1/2 selector switch 5) Try with freq preset from editor and in manual mode 6) Try with RSC selector in TR and TR+G It's ok only when using UFC Radio. Can you try plz ???
  2. Now it's ok. YEAH!! Thank you very very very much. Now it's fine.
  3. Hi I'm trying from several days to read data from gauges to LCD. The following code read Left and Right engine fuel Flow from A10C dedicated gauges. ------------------------------------------------------------------------------ #define DCSBIOS_RS485_SLAVE 126 #define TXENABLE_PIN 2 #include <Servo.h> #include <Wire.h> #include <LiquidCrystal_I2C.h> #include "DcsBios.h" LiquidCrystal_I2C lcd(0x27, 20, 4); void onLEngFuelFlowChange(unsigned int NewValue) { lcd.setCursor(12, 1); lcd.print (int((NewValue/65.535)*50)); } DcsBios::IntegerBuffer lEngFuelFlowBuffer(0x10ae, 0xffff, 0, onLEngFuelFlowChange); void onREngFuelFlowChange(unsigned int NewValue) { lcd.setCursor(12, 0); lcd.print (int((NewValue/65.535)*50)); } DcsBios::IntegerBuffer rEngFuelFlowBuffer(0x10b0, 0xffff, 0, onREngFuelFlowChange); DcsBios:: ProtocolParser parser; void setup() { DcsBios::setup(); //Serial.begin(500000); lcd.backlight(); // pinMode(LED_PIN, OUTPUT); // analogWrite(LED_PIN, 50); lcd.init(); lcd.clear(); lcd.begin(20, 4); lcd.setCursor(0, 0); lcd.print("RFlow:PPH"); lcd.setCursor(0, 1); lcd.print("LFlow:PPH"); } void loop() { DcsBios::loop(); } --------------------------------------------------------------------------------------------- So. I read on LCD the correct data form Left and Right Fuel Flow but ONLY till a value of 9999. When the gauges goes over 9999 and then came back, REMAIN THE FIFTH DIGIT. --------------------------------------------------------------------------------------------- !! PLZ HELP ME !!. There is probably in the code that need to be modified or add something.
  4. HI I need an help plz. I want to display the Fuel Flow Gauges or from other gauge of the A-10 on a 16x2 LCD Display like this old thread https://forums.eagle.ru/showthread.php?t=145515 but give me an error after compiling. Probably that's an old code. I'm able to display all display of A10 like clock, vhf radio, uhf radio, CDU Panel but nothing from gauges. Can you help me ? Maybe a sketch ? Thank you so much
  5. Yes. I also added "DcsBios::setup()" to your setup() function and "DcsBios::loop()" to your loop() function and work great. Thanks.
  6. I try to make this with Arduino compatible board (Elegoo) and I2C board but nothing appear on display (16x2). The sketch "Hello World" is ok. Where's the issue?. Trying to use DCSBIOS_IRQ_SERIAL give me this error: HardwareSerial0.cpp.o (symbol from plugin): In function `Serial': (.text+0x0): multiple definition of `__vector_18' C:\Users\...\AppData\Local\Temp\buildf609cf24e499ea4eca143c471bfeee27.tmp\sketch\i2c_dcsbios.ino.ino.ino.cpp.o (symbol from plugin).text+0x0): first defined here collect2.exe: error: ld returned 1 exit status I tried different speed baud rate (115k, 250k) but the issue remain I use an Arduino One not original but an Elegoo compatible and a I2C board. I tried with switch 2 or 3 pos and is ok, tried with servo and potentiometers and is ok. I try to upload a simple sketch like "Hello World" and appear correctly on display. Help me plz. Thanks. This is my code #define DCSBIOS_DEFAULT_SERIAL #include <Wire.h> #include <Servo.h> #include <LiquidCrystal_I2C.h> #include <DcsBios.h> #define LED_PIN 3 LiquidCrystal_I2C lcd(0x27, 16, 2); void onUhfFrequencyChange(char* newValue) { lcd.setCursor(0, 0); lcd.print(newValue); } DcsBios::StringBuffer<7> uhfFrequencyBuffer(0x1180, onUhfFrequencyChange); void onClockHhChange(char* newValue) { lcd.setCursor(0, 1); lcd.print(newValue); } DcsBios::StringBuffer<2> clockHhBuffer(0x10fe, onClockHhChange); void onClockMmChange(char* newValue) { lcd.setCursor(3, 1); lcd.print(newValue); } DcsBios::StringBuffer<2> clockMmBuffer(0x1100, onClockMmChange); void onClockSsChange(char* newValue) { lcd.setCursor(6, 1); lcd.print(newValue); } DcsBios::StringBuffer<2> clockSsBuffer(0x1102, onClockSsChange); void onClockEtcChange(char* newValue) { lcd.setCursor(9, 1); lcd.print(newValue); } DcsBios::StringBuffer<3> clockEtcBuffer(0x1104, onClockEtcChange); DcsBios:rotocolParser parser; void setup() { Serial.begin(500000); lcd.backlight(); pinMode(LED_PIN, OUTPUT); analogWrite(LED_PIN, 50); lcd.init(); lcd.clear(); // put your setup code here, to run once: } void loop() { // put your main code here, to run repeatedly: } ___________________________________________________________________ SOLVED !!! just delete line Serial.begin(500000); ___________________________________________________________________
  7. Code ok but ... First of all Hi and thanks for your patience. So with DCSBIOS_DEFAULT_SERIAL mode before #include <DcsBios.h>" line, the sketch is ok and uploaded correctly to board but appears nothing on display :(:(:( - see image attached. With DCSBIOS_IRQ_SERIAL mode give me this error: HardwareSerial0.cpp.o (symbol from plugin): In function `Serial': (.text+0x0): multiple definition of `__vector_18' C:\Users\...\AppData\Local\Temp\buildf609cf24e499ea4eca143c471bfeee27.tmp\sketch\i2c_dcsbios.ino.ino.ino.cpp.o (symbol from plugin):(.text+0x0): first defined here collect2.exe: error: ld returned 1 exit status I tried different speed baud rate (115k, 250k) but the issue remain I use an Arduino One not original but an Elegoo compatible and a I2C board. I tried with switch 2 or 3 pos and is ok, tried with servo and potentiometers and is ok. I try to upload a simple sketch like "Hello World" and appear correctly on display. I have big problem with display. Can you help me again plz. Thanks a lot ___________________________________________ SOLVED !!! Just delete line Serial.begin(500000); ___________________________________________
  8. Can you share code please ?? Hi I have the same issue but after adding missing definition for DCSBIOS_DEFAULT_SERIAL the issue remain. I try to make this but the Arduino IDE give me always error after compiling. Can you help me plz? This is my code #include <Wire.h> #include <Servo.h> #include <LiquidCrystal_I2C.h> #include <DcsBios.h> #define LED_PIN 3 #define DCSBIOS_DEFAULT_SERIAL LiquidCrystal_I2C lcd(0x27, 16, 2); void onUhfFrequencyChange(char* newValue) { lcd.setCursor(0, 0); lcd.print(newValue); } DcsBios::StringBuffer<7> uhfFrequencyBuffer(0x1180, onUhfFrequencyChange); void onClockHhChange(char* newValue) { lcd.setCursor(0, 1); lcd.print(newValue); } DcsBios::StringBuffer<2> clockHhBuffer(0x10fe, onClockHhChange); void onClockMmChange(char* newValue) { lcd.setCursor(3, 1); lcd.print(newValue); } DcsBios::StringBuffer<2> clockMmBuffer(0x1100, onClockMmChange); void onClockSsChange(char* newValue) { lcd.setCursor(6, 1); lcd.print(newValue); } DcsBios::StringBuffer<2> clockSsBuffer(0x1102, onClockSsChange); void onClockEtcChange(char* newValue) { lcd.setCursor(9, 1); lcd.print(newValue); } DcsBios::StringBuffer<3> clockEtcBuffer(0x1104, onClockEtcChange); DcsBios::ProtocolParser parser; void setup() { Serial.begin(500000); lcd.backlight(); pinMode(LED_PIN, OUTPUT); analogWrite(LED_PIN, 50); lcd.init(); lcd.clear(); // put your setup code here, to run once: } void loop() { // put your main code here, to run repeatedly: }
  9. Hi. Selecting the Maverick E, the WIDE / NARROW function of the TGP no longer works with the dedicated throttle button but only with the corresponding OSB button. Can you confirm?. Thank you Inviato dal mio HUAWEI VNS-L31 utilizzando Tapatalk
×
×
  • Create New...