Skip to content

Commit 668aa37

Browse files
authored
Update SparkFun_ATECCX08a_Arduino_Library.h
I want to use SparkFun_ATECCX08a on NRF52 series boards, hoping to increase compatibility. Any replies are very much appreciated.
1 parent 155ccbc commit 668aa37

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/SparkFun_ATECCX08a_Arduino_Library.h

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -191,7 +191,7 @@ class ATECCX08A {
191191
public:
192192

193193
//By default use Wire, standard I2C speed, and the default ADS1015 address
194-
#if defined(ARDUINO_ARCH_APOLLO3) || defined(ARDUINO_ARCH_ESP32) // checking which board we are using and selecting a Serial debug that will work.
194+
#if defined(ARDUINO_ARCH_APOLLO3) || defined(ARDUINO_ARCH_ESP32) || defined(NRF52_SERIES) // checking which board we are using and selecting a Serial debug that will work.
195195
boolean begin(uint8_t i2caddr = ATECC508A_ADDRESS_DEFAULT, TwoWire &wirePort = Wire, Stream &serialPort = Serial); // Artemis
196196
#else
197197
boolean begin(uint8_t i2caddr = ATECC508A_ADDRESS_DEFAULT, TwoWire &wirePort = Wire, Stream &serialPort = SerialUSB); // SamD21 boards

0 commit comments

Comments
 (0)