Skip to content
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

must be of type Pin, not int #15

Open
vladbondarenko opened this issue Feb 11, 2023 · 1 comment
Open

must be of type Pin, not int #15

vladbondarenko opened this issue Feb 11, 2023 · 1 comment

Comments

@vladbondarenko
Copy link

Hello,

When using TX from examples i got this:

Traceback (most recent call last):
File "", line 8, in
File "/lib/sx1262.py", line 20, in init
File "/lib/sx126x.py", line 53, in init
TypeError: clock must be of type Pin, not int

Any ideas how to fix?

Thanks.

@ehong-tl
Copy link
Owner

Hi,

For Circuitpython, all the pins variable in the constructor must be Pin object instead of int.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants