k4kfh / ZephyrCab

Drive a model train with prototypical controls, realistic behavior, and simulated physics; uses JMRI's WebSockets interface for layout connection
http://k4kfh.github.io/ZephyrCab
GNU Affero General Public License v3.0
10 stars 4 forks source link

Resolving multi-command send issue, redoing .throttle.f.set() #6

Closed k4kfh closed 8 years ago

k4kfh commented 8 years ago

Now .throttle.f.set() accepts a single argument in JSON form.

Example:

.throttle.f.set("F0":true, "F4":false)

It has been tested to be stable and functional with the LokSound EMD 567 decoder control object.