reorganizing project to more general synchronizer in preparation for export/delivery to RVK museum.

This commit is contained in:
foley@ru.is
2013-09-22 16:58:16 +00:00
parent 10423b4755
commit 138877a1ef
33 changed files with 80 additions and 0 deletions

View File

@@ -0,0 +1,28 @@
/*
* IRremote: IRrecvDemo - demonstrates receiving IR codes with IRrecv
* An IR detector/demodulator must be connected to the input RECV_PIN.
* Version 0.1 July, 2009
* Copyright 2009 Ken Shirriff
* http://arcfn.com
*/
#include <IRremote.h>
int RECV_PIN = 11;
IRrecv irrecv(RECV_PIN);
decode_results results;
void setup()
{
Serial.begin(9600);
irrecv.enableIRIn(); // Start the receiver
}
void loop() {
if (irrecv.decode(&results)) {
Serial.println(results.value, HEX);
irrecv.resume(); // Receive the next value
}
}