Simconnect setup for P3Dv3

Besides access to P3D data via FSUIPC, I wanted to know how hard it would be to connect directly to P3D without passing via FSUIPC. This should be possible via Simconnect, an API for P3D (which is also used by FSUIPC). How to get everything working: Get a copy of Visual Studio 2013 Express (I …

Read More

Reading 12-byte number to control LEDs

Today I tried to send a 12-bit number to my Arduino board, in which each bit controls a digital output connected to a LED. Test completed. Mission accomplished! Once I have my MAX7219 IC, I will try to control 64 LEDs… which will be useful for my annunciator panel later on. /*    Test reading 12-character input from serial port.    Reads 12 characters from the serial port to control a series of leds that represent annunciator status fields of the KA350i.    The final implementation will use a MAX7219ENG (DIP) serially interfaced 8-digit LED display driver to control a 8×8 LED matrix, but the idea will be more or less the same. …

Read More

SLF4J

Up till now I outputted all required logging information via the most basic command: System.out.println(“Normal logging information”); System.err.println(“… when things go wrong information”); This is OK, but gives me little control. Therefore I took a look at the different Java libraries available and came to the conclusion that SLF4J is the one I need. Added …

Read More

16384 != 16383

According to the offset description: wheel status is controlled by a 2 byte storage wheel status is defined in offset ox0BE8 all wheels up should be stored internally as decimal value ‘0‘. all wheels down should be stored internally as decimal value ‘16383‘ A. Wheels up. That seems OK in the code below. ‘0’ is …

Read More