Comments (6)
Throttle Commands >> 's' set speed step mode.
:) I'd hope it's the same as these: https://www.jmri.org/help/en/package/jmri/jmrit/withrottle/Protocol.shtml#ThrottleChangeNotification
(though I don't know what 27 speed steps is)
from wifred.
I just double checked the wiThrottle protocol specs and actually there is a command to set the speed step mode in the protocol already.
I'll look into it, though I won't be able to test on anything else beside JMRI.
Heiko
from wifred.
actually there is a command to set the speed step mode
I did not find this. Any Hint?
I'll look into it, though I won't be able to test on anything else beside JMRI.
I will test it from throttle to loco. I have DCS100 and Loco with LE103 (or DCC Sniffer) for this.
from wifred.
I did not find this. Any Hint?
Second try:
Throttle Commands >> 's' set speed step mode.
Still the question which values are allowed.
https://www.jmri.org/help/en/package/jmri/jmrit/withrottle/Protocol.shtml
from wifred.
though I don't know what 27 speed steps is
Older Dekoders from Lenz (LE075 or Roco 10741) supported only 14 and 27 speed steps. 27 was like 14, but the CU was sending two different speed steps alternating. http://www.dcc-mueller.de/decoder/dectab_o.htm
from wifred.
About guessing the values:
JMRI has a class (enum) jmri.SpeedStepMode. The ordinal values would be 0=UNKNOWN, 1=NMRA_DCC_128, 2=NMRA_DCC_28, 3=NMRA_DCC_27, 4=NMRA_DCC_14, 5=MOTOROLA_28, 6=TMCC_32, 7=INCREMENTAL.
That does not match what is documented in ThrottleChangeNotification.
https://www.jmri.org/JavaDoc/doc/src-html/jmri/SpeedStepMode.html
https://www.jmri.org/JavaDoc/doc/jmri/SpeedStepMode.html
May be a hint is the method decodeSpeedStepMode() in jmri.jmrit.withrottle.ThrottleController:
https://www.jmri.org/JavaDoc/doc/src-html/jmri/jmrit/withrottle/ThrottleController.html#line.734
So I would guess that possible values are
- "1",
- "2"
- "4"
- "8"
- "16"
and
- "unknown"
- "128"
- "28"
- "27"
- "14"
- "motorola_28"
- "tmcc_32"
- "incremental"
from wifred.
Related Issues (20)
- Reorganize documentation input files
- Esp32-S2 upgrade to esp32-s3 HOT 1
- Arduino 2.0.5 has different ADC outputs
- For housing: Move charge LEDs further apart
- Add single page with LED patterns
- Fix description of battery voltage calibration
- Handle "Steal" commands
- Rotary Encoder support HOT 2
- Drilljig missing in 0.6 HOT 2
- wiFRED use with command stations equipped with the WiThrottle protocol HOT 12
- Hidden SSID
- register with throttle name in DNS
- Selection of long/short address should be removed HOT 5
- Valid HTML
- enhance forms used
- configuration website should send favicon.ico an set title
- Fix fallback server IP address for networks not /24
- JLCPCB extended parts and kits? HOT 1
- Firmwareversion display
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from wifred.