Skip to content

'module' object has no attribute 'TM1637' #9

@AlexUhde

Description

@AlexUhde

Hello,
I'm trying to use your code on a WEMOS D1 with MicroPython 1.9.4.
I can run the "import" commands for both, the tm1637 and the machine, but when I run the tm line, it fails with the following error:

import tm1637
from machine import Pin
tm = tm1637.TM1637(clk=Pin(5), dio=Pin(4))
Traceback (most recent call last):
File "", line 1, in
AttributeError: 'module' object has no attribute 'TM1637'

Could you please let me know on how to fix this?

Kind regards,
Alex

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