arduino stuffs
Diffstat (limited to 'libraries/IRremote/examples/IRrecvDemo/IRrecvDemo.pde')
-rwxr-xr-xlibraries/IRremote/examples/IRrecvDemo/IRrecvDemo.pde28
1 files changed, 0 insertions, 28 deletions
diff --git a/libraries/IRremote/examples/IRrecvDemo/IRrecvDemo.pde b/libraries/IRremote/examples/IRrecvDemo/IRrecvDemo.pde
deleted file mode 100755
index f7b45b8..0000000
--- a/libraries/IRremote/examples/IRrecvDemo/IRrecvDemo.pde
+++ /dev/null
@@ -1,28 +0,0 @@
-/*
- * 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
- }
-}