Hi,
I am making some software for my project. I got an RC car witch is controlled by an arduino, and I need some software to controll it, and a tip I got from a friend was processing. But, I have no idea how to make this code. So I ask for help.
What I need is;
When a button is pressed on the keyboard, example "w" one function starts. But when I release the button, a another function starts. In the arduino code I got one function for forward and one for stop forward. So when I press the button, the forward function starts, and when I release the button, the stop forward starts. Hope you understand.
So, what should I do?
Best regards,
The Crusher
I am making some software for my project. I got an RC car witch is controlled by an arduino, and I need some software to controll it, and a tip I got from a friend was processing. But, I have no idea how to make this code. So I ask for help.
What I need is;
When a button is pressed on the keyboard, example "w" one function starts. But when I release the button, a another function starts. In the arduino code I got one function for forward and one for stop forward. So when I press the button, the forward function starts, and when I release the button, the stop forward starts. Hope you understand.
So, what should I do?
Best regards,
The Crusher
1