// mySetup.h // defining CMRI accessories // CMRI connections defined in myHal.cpp // // update 04-May-2024 // Note: Accessories can be defined in myCMRI.h/myAutomation.h // along with the CMRI bus and node definitions (previously in myHal.cpp). // An ESP32 command station will need the Serial2 defined in myHal.cpp // // // // this is for testing. SETUP(""); // Turnouts defined in myAutomation.h can include descriptions which will appear in Engine Driver // Sensors and digital outputs do not require pre-definition for use in EXRAIL automation // // SMINI emulation node 24-input/48-outputs // the sketch I use // 16 or 24 input pins // 32 or 48 output pins // // Define 16 input pins 1000-1015 SETUP(""); SETUP(""); SETUP(""); SETUP(""); SETUP(""); SETUP(""); SETUP(""); SETUP(""); SETUP(""); SETUP(""); SETUP(""); SETUP(""); SETUP(""); SETUP(""); SETUP(""); SETUP(""); // // define 16 turnouts using VPIN (for Throw/Close commands via CMRI) SETUP(""); SETUP(""); SETUP(""); SETUP(""); SETUP(""); SETUP(""); SETUP(""); SETUP(""); SETUP(""); SETUP(""); SETUP(""); SETUP(""); SETUP(""); SETUP(""); SETUP(""); SETUP(""); // // define 16 pins for digital outputs SETUP(""); SETUP(""); SETUP(""); SETUP(""); SETUP(""); SETUP(""); SETUP(""); SETUP(""); SETUP(""); SETUP(""); SETUP(""); SETUP(""); SETUP(""); SETUP(""); SETUP(""); SETUP(""); // // additional 16 outputs available 1056-1071 //SETUP(""); // // CMRI sketch used for testing available here // https://www.trainboard.com/highball/index.php?threads/24-in-48-out-card-for-jmri.116454/page-2#post-1141569 // // Define 16 input pins 900-915 SETUP(""); SETUP(""); SETUP(""); SETUP(""); SETUP(""); SETUP(""); SETUP(""); SETUP(""); SETUP(""); SETUP(""); SETUP(""); SETUP(""); SETUP(""); SETUP(""); SETUP(""); SETUP(""); // // define 16 turnouts using VPIN (for Throw/Close commands via CMRI) SETUP(""); SETUP(""); SETUP(""); SETUP(""); SETUP(""); SETUP(""); SETUP(""); SETUP(""); SETUP(""); SETUP(""); SETUP(""); SETUP(""); SETUP(""); SETUP(""); SETUP(""); SETUP(""); // // define 16 pins for digital outputs SETUP(""); SETUP(""); SETUP(""); SETUP(""); SETUP(""); SETUP(""); SETUP(""); SETUP(""); SETUP(""); SETUP(""); SETUP(""); SETUP(""); SETUP(""); SETUP(""); SETUP(""); SETUP("");