Browse files

Now really fixing the code.

  • Loading branch information...
1 parent cb13685 commit 9529a94c1f31fd4477968d41ee6d1a0dae7c3e62 @cycloon cycloon committed Sep 1, 2012
Showing with 4 additions and 4 deletions.
  1. +4 −4 examples/enroll/enroll.pde
View
8 examples/enroll/enroll.pde
@@ -16,9 +16,9 @@
#include <Adafruit_Fingerprint.h>
#if ARDUINO >= 100
- #include <NewSoftSerial.h>
-#else
#include <SoftwareSerial.h>
+#else
+ #include <NewSoftSerial.h>
#endif
uint8_t getFingerprintEnroll(uint8_t id);
@@ -27,9 +27,9 @@ uint8_t getFingerprintEnroll(uint8_t id);
// pin #2 is IN from sensor (GREEN wire)
// pin #3 is OUT from arduino (WHITE wire)
#if ARDUINO >= 100
-NewSoftSerial mySerial(2, 3);
-#else
SoftwareSerial mySerial(2, 3);
+#else
+NewSoftSerial mySerial(2, 3);
#endif
Adafruit_Fingerprint finger = Adafruit_Fingerprint(&mySerial);

0 comments on commit 9529a94

Please sign in to comment.