When the I2C code is installed on the bug you are not limited to controlling it just from a Pi. You can control it from other platforms that have I2C.
Mike has done a translation for Arduino - https://github.com/mikerr/codebug-arduino
This is a good idea giving me a couple of other good ideas
I should try but need that some material arrives next days. Eh eh eh