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

    Index - missing

    Lessons and Guides
    index erro
    2
    2
    1.1k
    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.
    • T
      taunushexe
      last edited by

      if i read rtc get utctime i get a Tuple.
      But where is the index function in blocks ?
      ms = rtc.datetime()[7]
      in python mode no problem, but in GUI(blocky) mode ?

      1 Reply Last reply Reply Quote 0
      • felmueF
        felmue
        last edited by felmue

        Hello @taunushexe

        the list blocks can be used for that. See example in UIFlow2 ProjectZone: M5Dial_Get_Values_From_Tuple_UIFlow_2.0.4

        Thanks
        Felix

        GPIO translation table M5Stack / M5Core2
        Information about various M5Stack products.
        Code examples

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