Code for a Lynxmotion Hexapod robot