I’m trying to write a Clojure library for the BrickPi and I would like to know if the Serial protocol used when communicating with the BrickPi was documented somewhere?
I tried to make sense of it from the C and Python libraries to no avail.
I’ve already succeeded in establishing a communication over the port /dev/ttyAMA0, and got the motors to turn by sending some instructions I found here (https://github.com/holoed/BrickPi_Haskell/blob/master/BrickPi.hs), but I’m too lazy to read the rest of C or Python code…
I think providing good docs for the serial protocol would be great for the development of libraries in other languages (I myself would be interested in writing Clojure, Erlang and Ruby libraries).
Cheerios!