Skip to content

Commit b9a992a

Browse files
committed
Rename example sketch files so they show up in the Arduino UI.
1 parent 50ee9f1 commit b9a992a

File tree

11 files changed

+10
-10
lines changed

11 files changed

+10
-10
lines changed

README.md

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -70,7 +70,7 @@ responsible for updating the button and signal objects.
7070
The Light objects do not need to be updated.
7171
They are updated by the signal object they belong to.
7272

73-
[Example Code](examples/Signal2AspectWithButton/signal2aspect_with_button.ino)
73+
[Example Code](examples/Signal2AspectWithButton/Signal2AspectWithButton.ino)
7474

7575
## 3 Aspect Signal controlled by BlockDistanceInput.
7676

@@ -81,7 +81,7 @@ trains if
8181
In this case the signal shows yellow.
8282
* the next two track blocks are free, in which case the signal shows green.
8383

84-
[Example Code](examples/Signal3AspectWithBlockDistanceInput/Signal3Aspect_with_BlockDistanceInput.ino)
84+
[Example Code](examples/Signal3AspectWithBlockDistanceInput/Signal3AspectWithBlockDistanceInput.ino)
8585

8686
## 3 Aspect Signal controlled by a DistanceTimer
8787

@@ -90,14 +90,14 @@ a DistanceTimer class that is triggered by a track occupancy sensor on pin 2
9090
and uses a timer to decide how far away the train is, and thus what
9191
colour the signal shall show.
9292

93-
[Example Code](examples/Signal3AspectWithDistanceTimer/Signal3Aspect_with_DistanceTimer.ino)
93+
[Example Code](examples/Signal3AspectWithDistanceTimer/Signal3AspectWithDistanceTimer.ino)
9494

9595
## Two independent 3 Aspect Signals
9696

9797
This example shows how a single Arduino can control two signals independently.
9898
Here we use the Signal3Aspect class with the DistanceTimer as above.
9999

100-
[Example Code](examples/TwoIndependentSignal3Aspect/two_independent_Signal3Aspect.ino)
100+
[Example Code](examples/TwoIndependentSignal3Aspect/TwoIndependentSignal3Aspect.ino)
101101

102102
## Two 3 Aspect Signals controlling tracks that join a point (turnout)
103103

@@ -109,4 +109,4 @@ We have one input from the point that indicates which way it is set.
109109
We also have a track occupancy detector on the other side of point that
110110
is used by the DistanceTimer.
111111

112-
[Example Code](examples/TwoSignal3AspectJoiningPoint/two_Signal3Aspect_joining_point.ino)
112+
[Example Code](examples/TwoSignal3AspectJoiningPoint/TwoSignal3AspectJoiningPoint.ino)

examples/Signal2AspectWithButton/signal2aspect_with_button.ino renamed to examples/Signal2AspectWithButton/Signal2AspectWithButton.ino

File renamed without changes.

examples/Signal3AspectWithBlockDistanceInput/Signal3Aspect_with_BlockDistanceInput.ino renamed to examples/Signal3AspectWithBlockDistanceInput/Signal3AspectWithBlockDistanceInput.ino

File renamed without changes.

examples/Signal3AspectWithDistanceTimer/Signal3Aspect_with_DistanceTimer.ino renamed to examples/Signal3AspectWithDistanceTimer/Signal3AspectWithDistanceTimer.ino

File renamed without changes.

examples/TwoIndependentSignal3Aspect/two_independent_Signal3Aspect.ino renamed to examples/TwoIndependentSignal3Aspect/TwoIndependentSignal3Aspect.ino

File renamed without changes.

examples/TwoSignal3AspectJoiningPoint/two_Signal3Aspect_joining_point.ino renamed to examples/TwoSignal3AspectJoiningPoint/TwoSignal3AspectJoiningPoint.ino

File renamed without changes.
Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,3 @@
11
#include "Arduino.hpp"
22

3-
#include "../examples/Signal2AspectWithButton/signal2aspect_with_button.ino"
3+
#include "../examples/Signal2AspectWithButton/Signal2AspectWithButton.ino"
Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,3 @@
11
#include "Arduino.hpp"
22

3-
#include "../examples/Signal3AspectWithBlockDistanceInput/Signal3Aspect_with_BlockDistanceInput.ino"
3+
#include "../examples/Signal3AspectWithBlockDistanceInput/Signal3AspectWithBlockDistanceInput.ino"
Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,3 @@
11
#include "Arduino.hpp"
22

3-
#include "../examples/Signal3AspectWithDistanceTimer/Signal3Aspect_with_DistanceTimer.ino"
3+
#include "../examples/Signal3AspectWithDistanceTimer/Signal3AspectWithDistanceTimer.ino"
Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,3 @@
11
#include "Arduino.hpp"
22

3-
#include "../examples/TwoIndependentSignal3Aspect/two_independent_Signal3Aspect.ino"
3+
#include "../examples/TwoIndependentSignal3Aspect/TwoIndependentSignal3Aspect.ino"

0 commit comments

Comments
 (0)