I don't know how to write an application which can control the hardware.

Hello Everyone, I am a newbie for Arduino. Right now, I am doing a project which I have to write an application with these features below:

  • Control DC motor (forward and reverse)
  • Measure the pulse of Encoder
  • Control 12-V Solenoid to turn on or off

I want to ask how to create an application to control Arduino board so that above features can be accomplished.

  1. Google. Believe me, all these things have been done over and over and over and over again.
  2. Find out which examples are relevant to your specific hardware and your specific application.
  3. Read this.
  4. Feel free to post your questions!

And remember: the more specific the question, the more specific the answer (and the other way around as this reply shows you).