Turning input pin on and off on Arduino Due

So I have an LED that I want to turn on and off without having to push a button on the Arduino. I want the code to tell the Arduino to activate an input pin for one second and then deactivate it for one second. I'm thinking I'll need the use of a timer for this but wanted to ask if this is even possible and if so how to do it.

Hello gns18

Take either a view here

or here

to gain the knowledge.

Have a nice day and enjoy coding in C++.

This topic was automatically closed 180 days after the last reply. New replies are no longer allowed.