AUTHOR

thank god for the iPodSerial library <33


#include <AdvancedRemote.h>
#include <iPodSerial.h>
#include <SimpleRemote.h>

SimpleRemote sr;

int rxPin = 0;
int txPin = 1;
int blueLight = 2;

void setup() {
Serial.begin(19200);
pinMode(blueLight, INPUT);
pinMode(txPin, OUTPUT);
pinMode(rxPin, INPUT);
}

void loop() {
int sensorValueBlue = digitalRead(blueLight);

if(sensorValueBlue == 1)
{
Serial.write("FFWD");
sr.sendSkipForward();
sr.sendButtonReleased();
Serial.println();
delay(500);
}
else{
}
}
how dare you talk shit about Arduino
I can't find a docking station with all of the features I want so I'm making my own

Quick reply

Sign in to post a message.
Smileys

Times shown in Eastern Time (ET).