Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse files

fuzzier!

  • Loading branch information...
commit c0a23a7b613806b1f4fe3ddc353708720687c241 1 parent d2adc93
Limor "Ladyada" Fried ladyada authored
Showing with 1 addition and 2 deletions.
  1. +1 −2  ircommander.pde
3  ircommander.pde
View
@@ -26,7 +26,7 @@
#define RESOLUTION 20
// What percent we will allow in variation to match the same code
-#define FUZZINESS 10
+#define FUZZINESS 20
// we will store up to 100 pulse pairs (this is -a lot-)
uint16_t pulses[100][2]; // pair is high and low pulse
@@ -56,7 +56,6 @@ void loop(void) {
if (IRcompare(numberpulses, AppleForwardSignal)) {
Serial.println("FORWARD");
}
-
}
boolean IRcompare(int numpulses, int Signal[]) {
Please sign in to comment.
Something went wrong with that request. Please try again.