Hi,
I have a temporary setup with a NodeMCU v3.0 acting as the Master and an Arduino acting as the slave. They are connected over I2C and the nodeMCU also powers up the Arduino. I've also a LED connected to output #6 of the Arduino. My goal is to use the NodeMCU as the main connection point over wifi and it will control the outputs of Arduino. I'm saying this is temporary because the Arduino will be eventually replaced by an Adafruit motor shield but the connections for power up the shield logic and I2C are essentially the same (ok libraries & code will change probably but still...).
So until my shield arrives, is it possible that the nodeMCU turns on the led connected to the Arduino? Then I think I'll be able to adapt the code and control the motor that will replace the led.
Here is my setup for reference:

