Technical support for the MELabs PICBASIC Compiler is provided solely via the online forum. Click the forum button on the top menu bar of this page. Before posting a support question, it maybe useful to search the forum for answers to perviously asked questions that are similar to your own. Or look through the user created sections on the main page of this site. The wiki, code example and other areas carry user generated content, to assist you with your enjoyment of our products.
If you can't find the answer you need, our community volunteers are ready to help you find a solution, just post your question in the relevant section of the forum.
Re: How to measure how long I pressed a button ?
What happens if more than one button is pressed at the same time?
HenrikOlsson Today, 17:16Anyway, this might serve as starting point. It compiles but it is not tested.
Long_Press CON 5000
Short_Press con 100
cnt...