Hey im using a coin type vibrating motor. As i am a beginner i do not know how to program. Can someone help me with the programming?
Start by playing with the examples in the IDE to learn a bit about coding , then think about your own projects.
You need to put a bit of time in first, then post your attempt at a sketch for this and people will help you .
If someone just gives you some code or you copy something from somewhere, then you learn nothing.
It’s good fun and you will learn a lot !
I think the example sketch Fade is a good one to look at.
Do look into how to properly hook up your vibration motor, so you're not killing your Arduino in the process.