Skip to main content
replaced http://stackoverflow.com/ with https://stackoverflow.com/
Source Link
added 494 characters in body
Source Link
heltonbiker
  • 503
  • 7
  • 21

UPDATE: When I posted this answer I had not yet any knowledge of the Processing Language. If you came to this answer with the same intention I had (the question title), I strongly suggest you to use Processing instead, which has much more straightforward keyboard event capturing and serial communication working out of the box with minimal code.

A question showing this in action is here: http://stackoverflow.com/questions/18366482/processing-to-arduino-with-keyboard


After realizing that what I actually wanted was to "capture keyboard events", I ended up using PyGame due to its minimalistic setup. Now I can send whatever I want to the Arduino using PySerial.

After realizing that what I actually wanted was to "capture keyboard events", I ended up using PyGame due to its minimalistic setup. Now I can send whatever I want to the Arduino using PySerial.

UPDATE: When I posted this answer I had not yet any knowledge of the Processing Language. If you came to this answer with the same intention I had (the question title), I strongly suggest you to use Processing instead, which has much more straightforward keyboard event capturing and serial communication working out of the box with minimal code.

A question showing this in action is here: http://stackoverflow.com/questions/18366482/processing-to-arduino-with-keyboard


After realizing that what I actually wanted was to "capture keyboard events", I ended up using PyGame due to its minimalistic setup. Now I can send whatever I want to the Arduino using PySerial.

deleted 101 characters in body
Source Link
heltonbiker
  • 503
  • 7
  • 21

(I won't accept my own answer, but this is what I actually used. It's not polished but it works!)

After realizing that what I actually wanted was to "capture keyboard events", I ended up using PyGame due to its minimalistic setup. Now I can send whatever I want to the Arduino using PySerial.

(I won't accept my own answer, but this is what I actually used. It's not polished but it works!)

After realizing that what I actually wanted was to "capture keyboard events", I ended up using PyGame due to its minimalistic setup. Now I can send whatever I want to the Arduino using PySerial.

After realizing that what I actually wanted was to "capture keyboard events", I ended up using PyGame due to its minimalistic setup. Now I can send whatever I want to the Arduino using PySerial.

Source Link
heltonbiker
  • 503
  • 7
  • 21
Loading