Controlling Marty over I2c (or serial)


I'm writing something for controlling Marty using Nerves on a Pi Zero W.

I've been using the Socket API over ESP and it's all working just fine. But as I'm sticking the Pi Zero in Marty's head, it would be great to just be talking over a wire.

If I understand this response to a previous query correctly, I could send the same commands that I'm sending over the socket over I2c.

So, questions:


PS fwiw current source code is here


Leave a comment and join the discussion here

Please Log In or Sign Up to write a comment response

1 Responses

merecomp OP

I guess I should just maybe experiment, with the i2c. Even a bit of example code would be super useful, though.

10:14:53, 22nd February 2018   |   Permalink   |   View Source