Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Dev twindad #33

Open
wants to merge 22 commits into
base: master
Choose a base branch
from
Open

Dev twindad #33

wants to merge 22 commits into from

Conversation

msunderwd
Copy link

Adds a "-2" response to the programming track Writes. This is sent when MOTOR_SHIELD_SUPPORTS_FEEDBACK = 0

This will supporess the spurious 308 error message in JMRI when using DCC++ with a motor shield that does not have current feedback.

Add Inglenook Game class
…iThrottle.

NOTE: Compiles, but may not execute. Not tested.
NOTE: Turnout control does not yet work right, in that
the throttle doesn't show the turnouts.  Still debugging that.
Also, having a static table of turnout addresses compiled into
the code seems a bit of a hack.

Cleaned up some comments etc. as well.

Switched to DHCP-assigned address.
…ed())

and while(client.available()) conditions in the input loop in SerialCommand

This helps with when to send the welcome message and keeps things a bit more
clean.  Should have no effect on normal Ethernet connections.  If it does
have an adverse effect, we can always put the variant while() constructs
inside a compiler directive.

2) Fixed the Track Power control

3) Fixed the direction control on the throttle.
Also removed the line from printIntroMessage() that was a compile-time error.
2) Added support for Bonjour/Zeroconf registration.  Disabled in Config.h

WARNING: If using the EthernetBonjour library (which this does), you MUST
make the changes to the Ethernet library as outlined in this Arduino forum
thread: http://forum.arduino.cc/index.php?topic=234340.0

ALSO, you must change line 148 of EthernetBonjour.cpp to call
this->beginMulti() instead of this->beginMulticast() ... apparently
a typo still in the library.

FINALLY, you might want to change #define HAS_NAME_BROWSING in
EthernetBonjour.cpp to 0, to save some space, since we are registering
a service, not browsing for one.  I have not (yet) tested that though.
Indicates to JMRI that current feedback is not supported.
Suppresses the 308 error that occurs when using DCC++ with a
motor shield that doesn't support feedback.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

1 participant