Counting help for mice

So...

We want to count how many times a cam on a mouse wheel hits a switch (that notes the wheel's full rotation) per minute/ten seconds/etc...

The faster the wheel goes the further a servo motor will lower a treat for the mice.

We don't know very much about writing our own scripts.

Help!!!!

Start simple and get a handle on the kind of code you will need. First have a look at some tutorials. They will demonstrate how to wire things up and program for it. I think this is a good starting point right here.

Once you get the hang of that you'll need to loop into the best ways to connect your servo into the arduino so it can be operated safely without damaging the arduino. Then look into how to program it and see what you can come up with to combine the servo code with the button state change code.

Isn't that a bit mean!?

HAHAHA RUN MOUSE RUN!!! HAHAHA!! ONLY 12000 MORE TURNS!!!

I see what you mean mowcius.
;D
jk

Do a forum search for bicycle as there has been some recent discussion concerning counting of bicycle wheel rotations.