Permalink
Browse files

fuzzier!

  • Loading branch information...
1 parent d2adc93 commit c0a23a7b613806b1f4fe3ddc353708720687c241 @ladyada ladyada committed Oct 6, 2010
Showing with 1 addition and 2 deletions.
  1. +1 −2 ircommander.pde
View
3 ircommander.pde
@@ -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[]) {

0 comments on commit c0a23a7

Please sign in to comment.