processing icon indicating copy to clipboard operation
processing copied to clipboard

i2c implementation for processing?

Open wydmynd opened this issue 8 years ago • 2 comments

I want to build a design course around processing with physical interaction parts done using arduino and processing/firmata. It works great for digital/analog sensors and motors, but today many sensors and even motor drivers are i2c. Will there be a i2c implementation for processing in the near future? thanks!

wydmynd avatar Jun 28 '17 19:06 wydmynd

I'm not planning on adding support any time soon, but if you or anyone else is interested in contributing an implementationI'm happy to review your work. To get started, I suggest looking at how it's implemented in other firmata client libraries.

soundanalogous avatar Jun 28 '17 20:06 soundanalogous

Thanks for the quick reply. Unfortunately I'm not sure I'm experienced enough to do this yet. Currently I work with Snap4Arduino+Firmata and I managed to create some new "blocks" (gui driven functions) using SYSEX functions (by modifying existing examples) . If you could refer me to an example of calling SYSEX commands from Processing that would be a great start for me. if not only to enable using things like Ultrasonic sensors. thanks again.

I have found several directions -

  1. dirty solution - send/receive integers using "virtual pin"

  2. sysex based solution (do not understand if this is an alternative lib)

wydmynd avatar Jun 29 '17 04:06 wydmynd