Navigation

    M5Stack Community

    • Register
    • Login
    • Search
    • Categories
    • Recent
    • Tags
    • Popular
    • Users
    • Groups
    • Search
    1. Home
    2. JeffDG
    J
    • Continue chat with JeffDG
    • Start new chat with JeffDG
    • Flag Profile
    • Profile
    • Following
    • Followers
    • Blocks
    • Topics
    • Posts
    • Best
    • Groups
    Save
    Saving

    JeffDG

    @JeffDG

    0
    Reputation
    3
    Posts
    55
    Profile views
    0
    Followers
    0
    Following
    Joined Last Online

    JeffDG Follow

    Posts made by JeffDG

    • RE: Read from EEPROM hangs

      Sounds good!

      When is 1.12.5 expected to be available?

      posted in UIFlow
      J
      JeffDG
    • Read from EEPROM hangs

      I have a program that reads a key from EEPROM. I've written a value to the key, but whenever I try to read it, it just hands the entire sketch.

      Here's the Python code that is running:
      def btn_save_magic_number_pressed():
      speaker.playTone(523, 2, volume=5)
      nvs.write(str('magic_number'), track_magic_number)
      speaker.playTone(262, 2, volume=5)
      label0.set_text(str(int((nvs.read_str('magic_number')))))
      speaker.playTone(131, 2, volume=5)
      pass

      I get the first two tones played (indicating it has written the EEPROM key), but the third never plays, and the label value never changes.

      I have tried other code to read the EEPROM, they always hang.

      posted in UIFlow
      J
      JeffDG