Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse files

Now really fixing the code.

  • Loading branch information...
commit 9529a94c1f31fd4477968d41ee6d1a0dae7c3e62 1 parent cb13685
Christian Gut cycloon authored
Showing with 4 additions and 4 deletions.
  1. +4 −4 examples/enroll/enroll.pde
8 examples/enroll/enroll.pde
View
@@ -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);
Please sign in to comment.
Something went wrong with that request. Please try again.