Simple Ipod Play/Pause Serial Communication

Hello, I am working on building a system to control some Christmas lights to music. My current issue I'm running into right now is controlling the play/pause of my ipod. I am not sure on how to program the arduino code to play.pause without the use of a button. If anyone could help me out with some simple code that could be used to do so this would be great.

Thank You.

I have a pod break out board. Grounded pins 1&11, put 500K ohms resistance on 21 to indicate accessory is connected. and connected pin 13 from ipod to TX(digital pin 1) on arduino through my voltage divider.

I am working on building a system to control some Christmas lights to music

Giving yourself plenty of time!

I am not sure on how to program the arduino code

You haven't posted any code.

Don't forget to use code tags.