Welcome to the forum for MobiFlight! Feel free to reach out to the community in case you have questions, issues or just want to share great ideas or details about your latest home cockpit project.
You like MobiFlight? Donate via PayPal and support the MobiFlight development. Thanks!
I'm afraid that what you explain isn't possible, at least as you intend to do.
For the record, this is what happens:
- Connector doesn't actually "create" a (compiled) sketch. It uses a standard sketch (always the same for any given version), which it just downloads to the Arduino; once it's up and running, it then downloads the information about the configuration that the user has set. This standard sketch is available, in the compiled form, in the Mobiflight/Firmware directory, and also as source on the BitBucket repository;
- the running sketch takes and sends back "messages" corresponding to input events or output requests; however, these need to be processed by the connector which acts as a bridge to the simulator. This is why the Connector is required; it's not just a configurator that produces a "ready-to-go", "all-inclusive" Arduino sketch, but also an important component for the communication and processing of informations between sim and hardware. Running the sketch without the Connector definitely does something, but it's still a long way to a working setup.
That said, you could still think of using the standard sketch somehow, but you would still need to figure out:
- how to send to it the configuration info
- what commands it takes (and how to generate them)
- what responses it returns (and how to forward them to the sim).
I hope I was clear enough to be helpful.