Skip to content

Import from self #7

@springjools

Description

@springjools

from DHT22 import DHT22

That doesn't work. You need to import from another module, and usualy you do this importing in the beginning of the file. If you just want to call the DHT22 class, just call it directly, it's right above there.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions