July 5, 2007
about 3 years ago
I’ve more or less got this working on an arduino uno and paired to a macbook running on snow leopard.
I can get communication to happen in terminal, term, and processing, so that’s a good start. I’m using this to control leds and 2 dc motors running off an ardumoto shield.
The issue i’m having is that i am trying to control this with my mac’s keyboard. I’ve got that part working, more or less - but what i'ld like to do is have the motors drive in one direction while i hold a key down. I’ve been using this instructable as a starting point:
http://www.instructables.com/id/Arduino-controlled-Bluetooth-bot/step4/Code/ I’ve modified that code as necessary to run on an ardumoto shield and it does seem to work - with the caveat that instead of continuous motion, when i hit the “i” key - the motors only turn for 25ms, then stop. On that link the author is able to hold down keys and have his robot move continuously. i can change the code to another delay factor and get longer movements, but thats not really what i want.
Anyone gotten anything working along these lines on Mac?
No public wish lists :(
Forgot your password?
No account? Register one!