Please I need some help with my project, I want to make a set value for example 25, and then when I press start, the sensor will count automatically until 25 and auto stop. what code should I make? I'm confused. thank you
Start simple.
Build a blinking led.
Then add a button.
Then add the counter.
Than maybe add some screen.
Plenty examples around for each step.
Hi,
Topic title: "Installing sensor proximity with auto countdown".
The topic title is not the same as the description you write about your project.
In the title of the topic you say "countdown" which would be.. 25, 24,23,22........0
But in the description you write "will count automatically until 25" ,
which would be.. 0,1, 2,3,4.......25
In the title you also write that the countdown will be started by a proximity sensor.
But in the description you write: "when I press start....."
You also write: "the sensor will count automatically...."
The proximity sensor only senses "something" close to it, the micro controller does the counting.
I recommend that you review the entire description of your project,
because as it is, it seems that even you don't know how you want your project to work.
I'm sorry sir, my English isn't good. What I trying to say is that when the sensor is read the things it will countdown to the value I set before sir. thank you sir