Open fire-bot opened 3 months ago
There are two main aspects to mimic panels, to display track state, and to have buttons to control stuff.
Leds can be connected direct to the gpio pins of your cpu or to extenders.. setting them to show turnout state is as easy as this in exrail... ONTHROW(5) SET(401) UNSET(402) DONE ONCLOSE(5) UNSET(401) SET(402) DONE
Buttons can be handled easily with ONBUTTON so for example ONBUTTON(77) TOGGLE_TURNOUT(7) DONE
Of course yiu have to use suitable turnout ids and led/button vpins.
Sent by tony.trudy (tony.trudy@optusnet.com.au). Created by fire.
Dear support team, I have built a DCC ex command station with Wi-Fi and a 16 channel servo station thanks to your fantastic web site. I can now run DCC trains and operate turnouts using wi throttle. However there is one more thing I would like to do. That is to have a mimic panel where I can operate the turnouts using momentary switches and led indicators. Question Can you please advise if this is possible and how to achieve this. Please note that I would not have got to this point without your impressively detailed instructions.
Kind regards,
Tony Sent from my iPad