Skip to content

How to use the set_pins() #10

@atonughosh

Description

@atonughosh

How to use the PyLora.set_pins() ?
I am doing this
cs = "25" reset = "22" dio0 = "4" PyLora.set_pins(cs,reset,dio0)

When I set the variables as int, it says they must be string. But then, when I make them string, this error shows up
Traceback (most recent call last): File "send.py", line 6, in <module> PyLora.set_pins(cs,reset,dio0) TypeError: an integer is required

Please help

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions