Hexapod with 18 servos code

Hello All!

I am completely new to the Arduino scene, I am building a hexapod spider with 3 servos per leg so 18 servos in all. I am using an Arduino mega and mega sensor shield V2.4, has anyone done this before and if so could I see your code? I am looking for examples that way I have somewhere to start in helping me structure my program.

Thanks all!

(deleted)

I prefer getting the timing and processing off the Mega. I would use two of these. https://www.adafruit.com/products/815 It's a "set it and forget it" kinda device.

Just my opinion.