While in one of my previous posts, I used a byte per LED, a better solution is to use a bit per LED. That could go 8 times faster… Speaking of performance: apparently there is a method of controlling pins that is about 30 times faster compared with the digitalWrite() function. Keep you posted. Find …
Category: Java programming
Sending data from a Java application to Arduino Uno
Following my previous post, I made a test if I’m able to send data from a Java program to an Arduino board. The main thing to remember from this exercise: Ensure the Java application doesn’t send its data faster than the Arduino board can handle. String comparison on Arduino was a lot slower than comparing …
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 …
Long live ‘FSInterrogate’
Follow-up post on previous topic (16384!=16383) Long live ‘FSInterrogate‘ (a tool that can read FSUIPC offsets): when launching P3D in virgin modus (i.e. just start a new flight without sending any further commands), FSUIPC always returns ‘16383’ when the wheels are down. Probably FSUIPC is indeed not so strict for what concerns the values being …
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 …
First steps using the FSUIPC SDK
Found some time to pick-up where I left off last time; downloading the FSUIPC SDK 🙂 . Full stop. 😀 Basically I created two projects in Eclipse: “FSUIPC_SDK” holding all the required source code to interface with FSUIPC, including some basic functions to extract and write data to the simulator. “FSUIPC_SDK_TEST” to get some immediate …