Jump to content

Sky´s F/A-18C Simpit


SkyJunky

Recommended Posts

Absolutely fantastic!

Phanteks EvolvX / Win 11 / i9 12900K / MSI Z690 Carbon / MSI Suprim RTX 3090 / 64GB G.Skill Trident Z  DDR5-6000 / 1TB PCIe 4.0 NVMe SSD / 2TB PCIe 3.0 NVMe SSD / 2TB SATA SSD / 1TB SATA SSD / Alphacool Eisbaer Aurora Pro 360 / beQuiet StraightPower 1200W

RSEAT S1 / VPC T50 CM2 + 300mm extension + Realsimulator F18 CGRH / VPC WarBRD + TM Warthog grip / WinWing F/A-18 Super Taurus / 4x TM Cougar MFD / TM TPR / HP Reverb G2

Link to comment
Share on other sites

Very nicely done.

Intel i9 7980XE @4.4Hz

64GB DDR4 RAM at 2666MHz

GTX 1080Ti with 11GB GDDR5X

Reverb Pro HMD

HOTAS: TM Warthog throttle / TM F18 Grip

Dual H640P Huion tablets used with VRK (Virtual Kneeboard ) software

Gametrix JetSeat with SimShaker

DOF Reality P6, 6 axis Motion Platform

[sIGPIC][/sIGPIC]

Link to comment
Share on other sites

That’s just beautiful.

 

BTW, I’m getting encoding errors with the fonts file. Is it a windows encoded file ?

 

 

Sent from my iPhone using Tapatalk

 

I‘m using Windows. Encodet is the font by a converter.

The font is handmade, converted and then inserted into the U8g2 library. There are 3 different fonts for the UFC. The scratch display already needs 2 different fonts.

 

Ähh... Wow. How does your ADI work?

 

I make a video showing and explaining everything. But it still takes a little while, I have to finish the project first. It is not yet certain that the construction will stay that way.

 

Sky


Edited by SkyJunky
Link to comment
Share on other sites

After a couple private messages I solved the encoding error and we solved the compilation errors.

 

To use the fonts your best bet is to use a script editor such as textwrangler to open the u8g2_fonts.c file. Copy the last 4 fonts (the ones that have dcs in the name) and paste those into a new utf8 text file which you then save as hornet_fonts.h (or whichever name you prefer).

 

Then in your sketch, where you plan to use the fonts, paste this on one of the first couple lines:

#include "hornet_fonts.h"

 

I have that right after

#include "U8g2lib.h" 

 

Now your sketch should compile just fine.

As an example I've attached a picture of what the code below does:

     tcaselect(2);
     OLED_3.setFont(u8g2_DcsFont_tf);
     OLED_3.clearBuffer(); // clear the internal memory
     OLED_3.drawStr(01, 32, ":ATTH");
     OLED_3.sendBuffer(); // transfer internal memory to the display

     tcaselect(3);
     OLED_4.setFont(u8g2_DcsFontHornet4_tf);
     OLED_4.clearBuffer(); // clear the internal memory
     OLED_4.drawStr(01, 32, " RALT");
     OLED_4.sendBuffer(); // transfer internal memory to the display
          
     tcaselect(5);
     OLED_6.setFont(u8g2_DcsFontHornet3_tf);
     OLED_6.clearBuffer(); // clear the internal memory
     OLED_6.drawStr(01, 38, " BALT");
     OLED_6.sendBuffer(); // transfer internal memory to the display

 

 

ESBoRpnXUAIenbg?format=jpg&name=large

 

my 2cts. thanks again to Sky!

cheers

Link to comment
Share on other sites

  • 2 weeks later...

Thx skyjunky and longuich. It works on my test oled display ssd1306 i2c.

I have a question about the oled display on your picture Longuich: is it a 2.23 oled display ssd1305? Are you using I2C or SPI ?

Link to comment
Share on other sites

Hey bugz,

 

It is a 2.23 sd1305 i found on amazon.

I prefer i2c for its simplicity and all my other displays are. But this is an SPI version. It’s supposed to be able to do i2c as well but I don’t really fancy desoldering tweezer size resistors.

 

Cheers!

 

 

Sent from my iPhone using Tapatalk

Link to comment
Share on other sites

for the 223:

 

U8G2_SSD1305_128X32_NONAME_F_4W_HW_SPI ScrPad(U8G2_R0, /* cs=*/ 10, /* dc=*/ 7, /* reset=*/ 6);

 

the other (i2c) displays:

U8G2_SSD1306_64X32_1F_F_HW_I2C OLED_2(U8G2_R3, /* reset=*/ U8X8_PIN_NONE);
U8G2_SSD1306_128X32_UNIVISION_F_HW_I2C OLED_3(U8G2_R0, /* reset=*/ U8X8_PIN_NONE, /* clock=*/ SCL, /* data=*/ SDA); 

 

I'm using them with a teensy board. Not arduino.


Edited by longuich
Link to comment
Share on other sites

  • 1 month later...
  • 2 weeks later...
  • 2 weeks later...
  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...