File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 3838 # 'sphinx.ext.ifconfig',
3939 # 'sphinx.ext.viewcode',
4040 # 'sphinx.ext.graphviz',
41- 'sphinx_sitemap' ,
41+ # 'sphinx_sitemap',
4242 # 'sphinx.ext.inheritance_diagram',
4343 'sphinxcontrib.spelling' ,
4444 'sphinx_toolbox.collapse' ,
Original file line number Diff line number Diff line change @@ -31,6 +31,7 @@ The following cookbooks are currently available:
3131 vpins
3232 animation-sensors
3333 estop-button
34+ overload-messsage
3435
3536.. toctree ::
3637 :maxdepth: 2
Original file line number Diff line number Diff line change 1+ .. include :: /include/include.rst
2+ .. include :: /include/include-l2.rst
3+ .. include :: /include/include-ex-r.rst
4+ |EX-R-LOGO |
5+
6+ **************************************
7+ Message on Overload or Short Circuit
8+ **************************************
9+
10+ |SUITABLE | |tinkerer | |engineer | |support-button |
11+
12+ ``ONOVERLOAD(output) `` will start a sequence when an overload or short circuit is detected on the track/output. |BR |
13+ ``MESSAGE(message) `` will display a message on all throttles. |BR |
14+ ``AFTEROVERLOAD(output) `` will continute the sequence at this point after the overload or short circuit is cleared.
15+
16+ .. code-block :: cpp
17+
18+ ONOVERLOAD(A)
19+ PRINT("Overload Detected on A")
20+ BROADCAST("Overload Track A")
21+ MESSAGE("Overload Track A")
22+ AFTEROVERLOAD(A)
23+ DELAY(2000)
24+ BROADCAST("Overload Track A - Cleared")
25+ MESSAGE("Overload Track A - Cleared")
26+ DONE
27+
28+ For tracks/outputs B-H, duplicate the entire block above and replace 'A' with the appropriate track/output letter.
Original file line number Diff line number Diff line change @@ -27,6 +27,9 @@ Objects:
2727- Active low IR sensors connected to Mega2560 I/O pins 40 through 46
2828- An active low push button on Mega2560 I/O pin 30
2929
30+
31+ Also see the :doc: `/exrail/cookbooks/index ` for a collection of step-by-step instructions for building various |EX-R | based sequences and components for your model railroad.
32+
3033----
3134
3235Turn Track Power On at Startup
Original file line number Diff line number Diff line change @@ -98,7 +98,7 @@ DCC-EX Model Railroading
9898 :hidden:
9999 :maxdepth: 4
100100
101- EXRAIL & TRACK MANAGER<add-ons >
101+ PURCHASING & MERCHANDISE<purchasing-and-merchandise >
102102
103103.. toctree ::
104104 :hidden:
@@ -110,25 +110,19 @@ DCC-EX Model Railroading
110110 :hidden:
111111 :maxdepth: 4
112112
113- SUPPORT & INFO<support-and-info>
114-
115- .. toctree ::
116- :hidden:
117- :maxdepth: 4
118-
119- DOWNLOADS<download/index>
113+ SUPPORT, INFO & IDEAS<support-and-info>
120114
121115.. toctree ::
122116 :hidden:
123117 :maxdepth: 4
124118
125- PURCHASING & MERCHANDISE<purchasing-and-merchandise >
119+ EXRAIL & TRACK MANAGER<add-ons >
126120
127121.. toctree ::
128122 :hidden:
129123 :maxdepth: 4
130124
131- DETAILED INFORMATION <reference/index>
125+ REFERENCE & DETAILED INFO <reference/index>
132126
133127.. .. toctree::
134128.. :hidden:
@@ -139,6 +133,12 @@ DCC-EX Model Railroading
139133.. external-references/standards
140134.. reference/accessories/index
141135
136+ .. toctree ::
137+ :hidden:
138+ :maxdepth: 4
139+
140+ DOWNLOADS<download/index>
141+
142142.. toctree ::
143143 :hidden:
144144 :maxdepth: 4
You can’t perform that action at this time.
0 commit comments