-
Posts
163 -
Joined
-
Last visited
Content Type
Profiles
Forums
Events
Everything posted by Rapti
-
Hello all, I have a strange behavior with the A-10C Tacan channel display. As you can see in the video, the display jumps randomly to other values or flickers. After a certain time, the display then also turns off. I have used different Arduinos (Mega, Uno), different displays, USB ports, and different computers. Always the same. What else is special: The channel 103X was set as channel before I changed the computer. This seems to be somehow still in the memory of the Arduino.... Does anyone know this? Any tips? Diplay is a 7 segment 4 bits digital LED display TM1637. I use the TM1637TinyDisplay.h library. I use the flightpanel DCS BIOS I also testet some example sketches from the library. --> worked perfect. Here is the arduino code https://pastebin.com/u8NW0QNv 000000-20230401_135847.mp4
-
its my own design.. --> STL's https://github.com/RaptiF-35/DCS-A-10-Cockpit/tree/main/CAD-Files/Left Console/Ground Safe Panel
-
Great work! Is your IFF fully functional? Do you have any arduino Code for the thumb wheels? This is the the Pit of a friend and me. Still a lot to do. Gesendet von meinem SM-G988B mit Tapatalk
-
Hi Vinc, thanks for your help. Works great! thats the new code: https://pastebin.com/hGaPPxqM regards Ivor 20230201_083653.mp4
-
-
Hello friends, maybe someone can help me here. I want to show certain values of the UHF on a display in my A-10 cockpit (for example the preset). The display is a 3.5in Arduino display. I must confess that I have little idea of DCS programming and do everything by Try&Error. I wrote the following program which writes the static text and graphics to the display. For the output of the preset channel I have the following code in DCS BIOS: void onUhfPresetChange(char* newValue) { /* your code here */ } DcsBios::StringBuffer<2> uhfPresetBuffer(0x1188, onUhfPresetChange); If I include this in my code then nothing happens in the display. The code compiles without any problems Could someone go over the code for a moment and tell me if I have a general problem in the code? https://pastebin.com/KbpkEs0S #define DCSBIOS_DEFAULT_SERIAL #include "DcsBios.h" #include <LCDWIKI_GUI.h> //Core graphics library #include <LCDWIKI_KBV.h> //Hardware-specific library LCDWIKI_KBV mylcd(ILI9481,A3,A2,A1,A0,A4); #define BLACK 0x0000 #define BLUE 0x001F #define RED 0xF800 #define GREEN 0x07E0 #define CYAN 0x07FF #define MAGENTA 0xF81F #define YELLOW 0xFFE0 #define WHITE 0xFFFF void onUhfPresetChange(char* newValue) { mylcd.Set_Text_colour(RED); mylcd.Set_Text_Back_colour(BLACK); mylcd.Set_Text_Size(6); mylcd.Print_String(newValue, 294, 110); } DcsBios::StringBuffer<2> uhfPresetBuffer(0x1188, onUhfPresetChange); void setup() { DcsBios::setup(); Serial.begin(9600); mylcd.Init_LCD(); Serial.println(mylcd.Read_ID(), HEX); mylcd.Fill_Screen(BLACK); mylcd.Set_Text_Mode(0); mylcd.Set_Text_colour(GREEN); mylcd.Set_Text_Back_colour(BLACK); mylcd.Set_Text_Size(3); mylcd.Set_Rotation(1); mylcd.Print_String("ARC", 400, 20); mylcd.Print_String("210", 400, 45); mylcd.Set_Text_colour(WHITE); mylcd.Set_Text_Back_colour(BLACK); mylcd.Set_Text_Size(1); mylcd.Set_Rotation(3); mylcd.Print_String("DIGITAL", 405, 80); mylcd.Print_String("COMBAT", 407, 90); mylcd.Print_String("SIMULATOR", 398, 100); mylcd.Set_Text_Size(7.5); mylcd.Set_Text_Back_colour(WHITE); mylcd.Print_String("251.025", 105, 250); mylcd.Set_Text_Size(3); mylcd.Set_Text_colour(RED); mylcd.Set_Text_Back_colour(BLACK); mylcd.Print_String("VHF-A", 30, 40); mylcd.Print_String("VHF-F", 30, 160); mylcd.Print_String("UHF", 30, 270); mylcd.Set_Draw_color(RED); mylcd.Draw_Rectangle(20, 258, 86, 298); //mylcd.Draw_Rectangle(20, 115, 460, 155); //mylcd.Draw_Rectangle(20, 165, 460, 205); //mylcd.Set_Draw_color(RED); //mylcd.Fill_Rectangle(435, 70, 455, 100); //mylcd.Draw_Rectangle(435, 120, 455, 150); //mylcd.Draw_Rectangle(437, 122, 453, 148); //mylcd.Draw_Rectangle(435, 170, 455, 200); // mylcd.Draw_Rectangle(437, 172, 453, 198); mylcd.Set_Draw_color(WHITE); mylcd.Draw_Rectangle(265, 80, 350, 160); mylcd.Set_Text_colour(GREEN); mylcd.Set_Text_Back_colour(BLACK); mylcd.Set_Text_Size(2); mylcd.Print_String("PRESET", 274, 85); //mylcd.Set_Text_colour(RED); //mylcd.Set_Text_Back_colour(BLACK); //mylcd.Set_Text_Size(6); //mylcd.Print_String("3", 294, 110); mylcd.Set_Text_colour(GREEN); mylcd.Set_Text_Back_colour(BLUE); mylcd.Set_Text_Size(2); mylcd.Print_String("TACAN: 71X", 265, 180); mylcd.Print_String("ILS: 11", 265, 200); } void loop() { DcsBios::loop(); }
-
How to render HMCS display without change orientation?
Rapti replied to Jacktherookie's topic in Home Cockpits
I asked this question in the past. I think thats not possible at the moment. Sadly! -
Start with A-4E/Tucano mod or FC3 planes?
Rapti replied to The_Chugster's topic in New User Briefing Room
TTRYYYYYYTYYYYTYYTYYYYTYYYRTY655t5tF5dssdyz55555 Gesendet von meinem SM-G988B mit Tapatalk -
How To Program Arduino For Tactile Buttons Without Resistors?
Rapti replied to Kenpilot's topic in Home Cockpits
-
I use this one CMCS.ino
-
I use a LeoBodnar board for non aircraft commands
-
I am concerned about the buttons themselves
-
-
Is it also possible to use another Pin than Pin 2? I have existing panels that uses Pin 2 already.
-
wow cool! i have about 4 such 12 pos switches. They all have the same behavior as you described. Then I will probably write to the support of them. Thanks for the feedback!
-
1_20210722_204256.mp4
-
-
Hello Wayne, I have exactly the same behavior. Park Break does not work. Wing Fold works fine. Unfortunately I have not found a solution.
-
-
Which laser etcher/engraver are people using for creating cockpit panels?
Rapti replied to obious's topic in Home Cockpits
I'm using al laser with 130W. I dont own it. I just can use it. I'm designing everything with SOLIDWORKS. This is also a 3D CAD. From the panels I export a dxf and import it into Lightburn. The dxf contains 2 layers. One for the lasering contour an one for the engraving contour. Lightburn is the software that controls the laser. All I have to do now is set the power and speed of the laser for the two layers. Thats it. -
UFC is working Gesendet von meinem SM-G988B mit Tapatalk
-
Will be cool Gesendet von meinem SM-G988B mit Tapatalk
-
Its 3mm acrylic sheet . Painted black. And lasered /engraved with a 120W laser Gesendet von meinem SM-G988B mit Tapatalk
-
-
opemhornet.com has all the files - for free
