I'm pretty new to arduino and processing, but I want to control a stepper motor using processing to control a arduino. What I had in mind was when I held down a button such as "A" then the motor would turn to the left keep moving till I let up on it. When I press "D" then the motor would move to the right until I let up. I would also like to have it so when I press a button such as "S" it would turn on a pin on the arduino for as long as I had it down. The stepper can only move 180 degrees. Any help on this code would be amazing and very helpful along with any other tips or suggestions.
1