Thanks to visit codestin.com
Credit goes to github.com

Skip to content

required fix for circuit python 8.2.x ATECC crypto module #34

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Open
wants to merge 1 commit into
base: main
Choose a base branch
from
Open
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
6 changes: 5 additions & 1 deletion examples/atecc_simpletest.py
Original file line number Diff line number Diff line change
Expand Up @@ -5,8 +5,12 @@
import busio
from adafruit_atecc.adafruit_atecc import ATECC, _WAKE_CLK_FREQ

# Set the module wake frequency ping (default 100000)
atecc_wake_frequency = _WAKE_CLK_FREQ
# atecc_wake_frequency = 75000 # Recommend 75000 if 100000 does not work

# Initialize the i2c bus
i2c = busio.I2C(board.SCL, board.SDA, frequency=_WAKE_CLK_FREQ)
i2c = busio.I2C(board.SCL, board.SDA, frequency=atecc_wake_frequency)

# Initialize a new atecc object
atecc = ATECC(i2c)
Expand Down