🤖Have you ever tried Chat.M5Stack.com before asking??😎
    M5Stack Community
    • Categories
    • Recent
    • Tags
    • Popular
    • Users
    • Groups
    • Search
    • Register
    • Login

    uiflow-micropython dir(hardware) gives no output

    Bug Report
    1
    1
    143
    Loading More Posts
    • Oldest to Newest
    • Newest to Oldest
    • Most Votes
    Reply
    • Reply as topic
    Log in to reply
    This topic has been deleted. Only users with topic management privileges can see it.
    • PaulskptP
      Paulskpt
      last edited by

      For my M5Stack M5PaperS3 I built uiflow-micropython firmware,

      MicroPython v1.24.0-dirty on 2025-04-12; M5STACK PaperS3 with ESP32S3
      
      

      See also my post about this building experience.

      While using the Thonny IDE, in the Shell. I issued the commands:

      import hardware
      display(hardware)
      

      Nothing happened. I waited some minutes. Then I broke out with a KeyboardInterrrupt (<ctrl>C).

      When I issue the command:

      dir(hardware.RTC)
      

      this results in:

      ['__class__', '__name__', '__bases__', '__dict__', 'datetime', 'init', 'local_datetime', 'memory', 'timezone']
      

      when I enter the command "dir(board.sdcard)" this also results in ouput:

      >>> dir(hardware.sdcard)
      ['__class__', '__name__', 'SDCard', '__dict__', '__file__', 'machine', 'os', 'create_sdcard_closure']
      
      

      See the: screenshot.

      Regards,
      PaulskPt

      Coding keeps your mind going

      1 Reply Last reply Reply Quote 0
      • First post
        Last post