I'm a newbie and I've searched the forum but can't find the answer.

Hi, we are pleased to see that you are using our forum.

We'd like you to become a member of our community. Membership is FREE, please REGISTER and view our forums without these annoying reminders!

Once registered you may post on the forums, download from the file areas and use the WIKI without interruption.

What is the meaning of the rate parameter in the button command? Is a low value faster or slower than a large value? How is it affected by oscillator speed? I've tried various values in a test circuit and it is still a mystery to me. To slow the damn thing down, I've inserted a PAUSE in the loop, but that can cause a delay in recognizing a button press.

I know I should write the code myself, but the button command seems so convenient.

Any hints would help.