Anyone up for making a serial device? I only do a little programming on the PC side of things, so am not currently up to the task I think. Needs sync bytes, something like this is common:

FF FF 0 axis1 0 axis2 0 axis3 etc.

Really just check the high bit, 2 set in a row is the sync, then a zero then axis etc. By just checking the high bit other things can be put in like this:

F0 Fx 0y ax1 0y ax2 etc.

Where the x can tell how many axes are coming, and button bits can be put in the 0 high bit bytes for y.

It's not that this can't be gotten in the computer some other way, but development is a bit easier with a plain serial port, and everyone's got one plus they work in WinXP.

Mainly looking for my rudder controller, but if someone does this I'll also put up a simple pic interface and code for RC transmitters.

Alan





_______________________________________________
Flightgear-devel mailing list
[EMAIL PROTECTED]
http://mail.flightgear.org/mailman/listinfo/flightgear-devel

Reply via email to