#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{
}
}Page 1 of 1
AUTHOR
thank god for the iPodSerial library <33
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
Page 1 of 1
Quick reply
Sign in to post a message.Times shown in Eastern Time (ET).
