Arduino HexBug: generalized the interface