Skip to content

Commit b476518

Browse files
committed
remove the I2C refs from the example comments
1 parent 919a914 commit b476518

File tree

1 file changed

+5
-11
lines changed

1 file changed

+5
-11
lines changed

examples/Example06_EnrollSPI/Example06_EnrollSPI.ino

Lines changed: 5 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -15,25 +15,19 @@
1515
* - Delete all existing fingerprints
1616
* - Validate a fingerprint
1717
*
18-
* This version of this example uses the I2C interface to communicate with the sensor.
18+
* This version of this example uses the SPI interface to communicate with the sensor.
1919
*
2020
* Example Setup:
21-
* - Connect the SparkFun Qwiic FPC2534 Fingerprint sensor to your microcontroller using a qwiic cable.
22-
* NOTE: Due to for structure of I2C communications implemented by the FPC2534 sensor, only
23-
* ESP32 and Raspberry Pi RP2 microcontrollers are supported by this Arduino Library.
21+
* - Connect the SparkFun Qwiic FPC2534 Fingerprint sensor to your microcontroller using hook-up wires ...
22+
* setup for SPI communication. Note the CS PIN number - this needs to be defined below.
2423
* - Connect the RST pin on the sensor to a digital pin on your microcontroller. This is used by the
2524
* example to "reset the sensor" on startup.
2625
* - Connect the IRQ pin on the sensor to a digital pin on your microcontroller. The sensor triggers
2726
* an interrupt on this pin when it has data to send.
2827
* - Update the IRQ_PIN and RST_PIN defines below to match the pins you are using.
2928
*
3029
* Operation:
31-
* - On startup, the example "pings" the sensor address to verify it is present on the I2C bus.
32-
* - If the sensor is found, the example initializes the sensor library and resets the sensor.
33-
* NOTE: A reset appears to be needed after the I2C ping is sent.
34-
* - The sensor object is initialized with the sensor address, interrupt pin, and the Wire object.
35-
* NOTE: The I2C bus number is also provided, to allow the library to perform the low-level I2C commands
36-
* required to read data from the sensor. This is needed due to the way the FPC2534 implements I2C.
30+
* - The sensor object is initialized with the CS pin and the interrupt pin. This examples uses the default SPI bus.
3731
* - The example registers several callback functions with the sensor library. These functions are called as
3832
* messages are received from the sensor.
3933
* - Once running, the example prevents a menu with the following options:
@@ -64,7 +58,7 @@
6458
//----------------------------------------------------------------------------
6559
// UPDATE THESE DEFINES TO MATCH YOUR HARDWARE SETUP
6660
//
67-
// These are the pins the IRQ and RST pins of the sensor are connected to the microcontroller.
61+
// These are the pins the CS, IRQ and RST pins of the sensor are connected to the microcontroller.
6862
//
6963
// NOTE: The IRQ pin must be an interrupt-capable pin on your microcontroller
7064
//

0 commit comments

Comments
 (0)