Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion library.properties
Original file line number Diff line number Diff line change
Expand Up @@ -6,5 +6,5 @@ sentence=Arduino Library for the Atmel/Microchip ECC508 and ECC608 crypto chips
paragraph=
category=Communication
url=https://github.com/arduino-libraries/ArduinoECCX08
architectures=samd,megaavr,mbed,mbed_nano,mbed_portenta
architectures=samd,megaavr,mbed,mbed_nano,mbed_portenta,esp32
includes=ArduinoECCX08.h
6 changes: 6 additions & 0 deletions src/ECCX08.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -38,6 +38,12 @@ ECCX08Class::~ECCX08Class()
{
}

int ECCX08Class::begin(uint8_t i2cAddress)
{
_address = i2cAddress;
return begin();
}

int ECCX08Class::begin()
{
_wire->begin();
Expand Down
1 change: 1 addition & 0 deletions src/ECCX08.h
Original file line number Diff line number Diff line change
Expand Up @@ -30,6 +30,7 @@ class ECCX08Class
virtual ~ECCX08Class();

int begin();
int begin(uint8_t i2cAddress);
void end();

int serialNumber(byte sn[]);
Expand Down