Skip to content

Commit 1846198

Browse files
Updated pin definitions
Updated the generic pin definition for the Arduino library examples
1 parent 7a56ff7 commit 1846198

File tree

2 files changed

+3
-3
lines changed

2 files changed

+3
-3
lines changed

examples/Example2_Interrupts/Example2_Interrupts.ino

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -54,7 +54,7 @@ STHS34PF80_I2C mySensor;
5454
int16_t presenceVal = 0;
5555

5656
// Change the pin number to the pin that has been chosen for your setup
57-
int intPin = 12;
57+
int intPin = 2;
5858

5959
// Star the flag as false
6060
bool volatile interruptFlag = false;

examples/Example4_SPIFunctionality/Example4_SPIFunctionality.ino

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -31,9 +31,9 @@
3131
with a resistive divider using the header pins like so:
3232
3333
ARDUINO --> STHS34PF80
34-
SCK/SCL (8) --> Clock
34+
SCK/SCL (13) --> Clock
3535
SDI/SDA (12) --> Data in
36-
!CS (13) --> Chip Select
36+
!CS (10) --> Chip Select
3737
3.3V --> 3.3V
3838
GND --> GND
3939

0 commit comments

Comments
 (0)