I'm searching for a way to connect an arduino to FSUIPC, a tool for flightsimulator software.
An other developer created an dotnet solution for this incl some examples writen in VB and C#.
This and the great movies from Fabrice Harari give me a jumpstart but 1 'little' syntax problem i can't solve.
With totaly no knowledge of C# and VB i have to ask for help.
The example code in C# i want transfer to WD is :
The declaration of an object with a < DataType > gives me headache, so if someone can help me with this, is much appreaciated.
ps: i Added extra spaces around the < DataType > because without, the forum delete them.
An other developer created an dotnet solution for this incl some examples writen in VB and C#.
This and the great movies from Fabrice Harari give me a jumpstart but 1 'little' syntax problem i can't solve.
With totaly no knowledge of C# and VB i have to ask for help.
The example code in C# i want transfer to WD is :
private Offset< uint > airspeed = new Offset< uint >(0x02BC); // 4-byte offset - Unsigned integer
private Offset< int > verticalSpeed = new Offset< int >(0x02C8); // 4-byte offset - Signed integer
private Offset< Double > compass = new Offset< double >(0x02CC); // 8 byte offset - double (FLOAT64)
private Offset< ushort > onGround = new Offset< ushort >(0x0366); // 2-byte offset - Unsigned short
private Offset< string > aircraftType = new Offset< string >(0x3160, 24); // 24 byte offset - String
The declaration of an object with a < DataType > gives me headache, so if someone can help me with this, is much appreaciated.
ps: i Added extra spaces around the < DataType > because without, the forum delete them.