@Paul Reynolds 121018 posted:I just spent a chunk of time looking through your code (You put executables in header files!). Initially I'm most interested in how you interfaced to the JMRI graphic control panel. Do you have images of your control panel that you would/have shared? Do you use any other parts of JMRI?
Yeah, I'm self-taught and the code isn't pretty!
My JMRI implementation is very idiosyncratic. I use the C/MRI protocol to pass data between the Arduino and JMRI scripts, so that I can use JMRI to do things like represent the internal logic of the control system, and use JMRI to control operating cars and accessories on the layout via TMCC.
I haven't maintained it recently, because it's a pain to modify for new engines/cars/accessories, and I've installed tactile switches on the layout that I enjoy more than poking a touchscreen. But here's what it looks like when running: