Mind you, this is just the hardware - you need software to program the switching module. I'll pack that all into a .zip-file and load it up ( one of these days).
In a nutshell, the switch module must be able to adapt itself to the TX's pulselengths, and be told whether to toggle a function output or keep it momentary.
The flat-box adaptation is much more complicated ( not so if FlySky have done away with 9.6..12V supply voltage requirement in the meantime ) and only doable for the advanced electronics buff.
Anybody read of Si's implementation of the FlySky in his loco?
For those interested in that four-channel switch, here's the hex-code for an ATTiny13:
When the jumper is set, the unit is in learning mode and will determine the neutral pulse length once it is switched on and the TX and RX are working. The LED will come on as soon that is done. Then one depresses the F1..F4 buttons shortly, followed by a 1sec acknowledge of the LED, or longer till the LED starts to blink. So that function is either a momentary output or a permanent (toggling) one. Once the four functions are determined, pull the jumper and the unit is ready to operate.
Lest I forget -Happy New Year to everybody!
Now have to go to the yard and and steam up my loco, the boys want to go for a ride with fireworks and replica guns and what not...