if i have 2 arduino nanos powered by the same power source,
can i connect the digital pin on one directly to a digital pin on the other and use it to relay a high/low state from one to the other?
would i need any kind of resistor? to prevent too much current?