// setup for sensorCAM on an ESP32-CAM NUMDigitalPins <= 80 // assume 700 is first vpin (set with ...CREATE(700,80,0x11) // the optional SETUP operations below initiate jmri monitoring of sensors for any change of state // Mostly only useful during debug of initial system but load up CS with extra work. Use judiciously // id vPin SETUP(""); // set up for control OUTPUT on vpin #00 // start of up to 80 sensors numbered bsNo's 100 to 197 (OCT) (0/0 to 9/7) SETUP(""); // first sensor (S00) (reference) SETUP(""); SETUP(""); // as many as you want. You can add later manually with CS native commands SETUP(""); SETUP(""); // Note: suggested id is b/s format (~OCT); vpin is DEC. SETUP(""); // myFilter.cpp REQUIRES this relationship for bsNo to vPin conversion SETUP(""); SETUP(""); SETUP(""); //etc. // can create a bulk set of sensors with c++ code so: //for(uint16_t b=2; b<=9;b++) for(uint16_t s=0;s<8;s++) Sensor::create(100+b*10+s,700+b*8+s,1); //SETUP(""); SETUP(""); SETUP(""); //SETUP(""); // SETUP(""); SETUP("");