iPod Serial play/pause

teejaytiger:
... forgive me if I'm not quite ~socialized~ to the forum.

We'll fix that!

int commands[]={0,0,0x01,0x08,0x10,0x02,0x04};
//0,0, play/pause, forward, back, volup, voldown
int buttonRelease[] = {0xFF, 0x55, 0x03, 0x02, 0x00, 0x00,0xFB};

void loop() {
  sendCommand(commands[2]);
  delay(5000);//5 seconds
}

This is a long-winded way of saying:

  sendCommand(1);

Isn't it? What does the array achieve?

Plus what James C4S said.