Tags:
  1. Roger Coleman

    Roger Coleman New Member

    3
    6
    1
    Hi All
    I've put together a package of Arduino Mega with a Rev3 motor shield with the vin cut to allow a 15 volt dc input. Additionally i was unable to get one of the recommended wi-fi units in UK so I've bought a WeMos D1R2
    I have down loaded and unzipped the Command Station EX and when I run compile it stops at

    // then DON'T connect throttles to this wifi, connect them to JMRI.
    //
    // THE WIFI FEATURE IS NOT SUPPORTED ON ARDUINO DEVICES WITH ONLY 2KB RAM.
    ////////////////////////////////////////////////////////////////////////////////////
    #include "config.h"
    #include "DCCEX.h"
    // Create a serial command parser for the USB connection,
    // This supports JMRI or manual diagnostics and commands
    // to be issued from the USB serial console.
    DCCEXParser serialParser;

    I have no idea how to #include "config.h" which is high lighted pink and I guess the same will apply to #include "DCCEX.h" too

    If there's anything else to add or amended can you help?

    Then onto the wi-fi unit. Am I correct inn thinking i power from the stacked Arduino and motor shield with 3.3 volts and return to GND I then connect opposites from the shield and WI-FI the Tx to Rx and Rx to TX
    Do i need to connect any other pins?

    Thanks Roger
     
  2. EchoTango

    EchoTango New Member

    2
    2
    2
    You should find a file names config.exmple.h in the file structure. Make a copy of this file and name it config.h. They do this so when you update, your custom config.h does not get overwritten.

    Patrick
     

Share This Page