Developing a layout in dcc++ Controller

Les B49 Nov 13, 2017

  1. Les B49

    Les B49 TrainBoard Member

    37
    3
    7
    I'm new to DCC, DCC++ and electronics (but, although rusty now, had a solid IT/programming career) and I'm trying to work out what it's all about. I haven't found anything (yet) that explains how to set up a layout with the DCC++ controller - I've downloaded the app from GitHub and can see the quite complex "demo" layout, but haven't seen anything explaining how this was designed/encoded. If there is a user guide or something somewhere for the controller, I'd be so grateful to be sent a link!

    Failing this, I've slowly been working my way through the controller code, trying to understand what goes on. I've modified the downloaded controller and edited it. So far I have two versions of my own.
    1. The first version just draws some simple track on screen to show how to use the basic commands. This is commented as a reminder to me, but could be a simple tutorial for others.
    2. The second version builds a simple layout from scratch - an inner and outer loop and a siding off the section of track which is common to both the inner & outer loops. I've also defined the 3 Turnouts, created 2 named routes (Inner Loop and Outer Loop) and 1 unnamed route (for the siding). Finally, I've seen up the roster just for my 3 locos.
    Slowly but surely, the second version will be enhanced as I work out what else I need to do to create a fully defined layout. (Hints on what I need to do next would be appreciated!)

    Would these be of use/interest to other newbies and is it worth my uploading them to the site for reference?

    Regards,
    Les
     
    Scott Eric Catalano likes this.
  2. Les B49

    Les B49 TrainBoard Member

    37
    3
    7
    Whoops!

    Just found the well-documented and really useful sample layout that Greg produced and put on GitHub several years back! Still, it's good to see that what I worked out for myself is correct! The thing that surprises me is that there doesn't appear to be any more I need to do to my simple loop layout - apart from buy a decoder, install it in my loco (which isn't DCC-ready!) and get it all going!

    Is there now a way to delete this post, since it's completely unnecessary???

    Regards from an embarrassed Les!
     
    Scott Eric Catalano likes this.

Share This Page