Trigger pin state change between 2 TS3.1 generic question

Status
Not open for further replies.

paul_sanchez

New member
Hi
I have a generic question about changing pin state and triggering a function based on pin state change.
I’ve seen it is possible to trigger an interrupt by changing the a pin state from HIGH to LOW for exp. using a button/switch for example and this interrupt will run an ISR (I’m not too familiar with interrupt programming).

Assuming I have 2 TS31 let’s call them TS1 and TS2.
TS1 and TS2 are running 2 different sketches. I’d like to use TS2 to trigger execution of a specific function (like an ISR?) on TS1 by changing the state of a defined pin on TS1 (from High to Low for exp).
In other words, TS2 would act as a switch.
Will this work if I simply connect a pin from TS1 as digital input to TS2 pin in digital Output mode? How could I do this?

Thank you,
Paul
 
Status
Not open for further replies.
Back
Top