I'm looking for a bit of help with so code for a project. im using 2 outputs and input. when the in put gos high i need 1 output to go high for a set amount of time, when the input gos low i need the other out put to go high fo a set amount of time. if anyone could help me out that would be great
Use CTRL T to format your code.
Attach your ‘complete’ sketch between code tags, use the </> icon in the posting menu. [code]Paste your sketch here[/code]
pafy:
I'm looking for a bit of help with so code for a project. im using 2 outputs and input. when the in put gos high i need 1 output to go high for a set amount of time, when the input gos low i need the other out put to go high fo a set amount of time. if anyone could help me out that would be great
this seems like convention button detection, monitoring for a change in state