Can you help me create multi dispenser that dispense pill every 6 and 4 hours using 2 servos
Have you completed the physical part, yet? Are these pills for human consumption?
Google is a wonderful tool. You should start there. If you can't find inspiration there, you aren't trying. Here's a small sampling of the top results:
First read the pinned post re 'How to get the most from the forum'
Then show your wiring diagram, a picture of a hand-drawn will suffice. Then take a stab at the code and when you get hung up, show us what you goit and someone will give you a hint.
Hello archeus
Take a search engine of your choice and ask the WWW for "Pill Dispenser +arduino" to get some ideas.
And/or look a little below the last post in the thread for Related topics, five of them in this case.