I am making a Complex Robot with Mega. I wish to control the robot with claps like wise
if i make 1 clap then it should trigger an action [eg: Line following] then if i make 2 claps then it should trigger any other action [eg: Obstacle avoider] . So if any one could help me do this very easily .
I need the code only as i am a 9th grader a newbie to arduino.
<<< I NEED IT FAST >>>>>
I HAVE TO DISPLAY IT IN SCIENCE EXIBITION FOR MY SCHOOL AND MINE IS A REALLY SPECIAL PROJECT
SO 2 DAYS LEFT
<<< FAAST >>>>
I NEED THE CODE ONLY
i reffered many sites but notin's helping
No i have a sound sensor and ive tried working with is ie. single clap on and off but i dont no double claps.
Moreover ive tested all the sensors by coding myself. I know programming but not to that extent.