Ok, I can’t sit on this any longer.
(Click on image for larger version)
This means that you can have a mixture of Pi Droid Alpha and RoboPi based Raspberry Pi robots, and the Python programs you write will work on either platform!
Ok, there are some limitations, due to the different architecture of RoboPi and Pi Droid Alpha, however as long as you keep your servos, PWM outputs, and ultrasonic sensors on pins 0-7, your programs will run the same on both controllers.
This limitation is due to Pi Droid Alpha only having eight servo/PWM/ping capable FlexIO pins with an additional 16 digital I/O only pins, whereas RoboPi has 24 FlexIO pins (made possible by RoboPi’s eight core 32 bit RISC co-processor)
Some of the API may seem a bit familiar to you:
pinMode(), digitalRead(), digitalWrite(), analogRead(), analogWrite(), servoRead() and servoWrite()
along with some less familiar additions like readMode(), readDistance() and more.
readDistance() is not implemented on Pi Droid Alpha yet… however I am working on it.
(RoboPi based Elf robot – click on image for larger version)