• Categories
    • Recent
    • Tags
    • Popular
    • Register
    • Login

    Compiler error due to SimpleTimer library

    Scheduled Pinned Locked Moved MyControllerDevice (ESP8266)
    4 Posts 2 Posters 973 Views 1 Watching
    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.
    • F Offline
      fsgrazzutti
      last edited by

      Hi @jkandasa,

      I get this error:

      MyController.cpp: 158:9: error: 'class SimpleTimer' has no member named 'run
      158 | timer.run(); \ SimpleTimer is working
      | ^~~

      But I could not find any library that has this member.

      Any help is much appreciated

      jkandasaJ 1 Reply Last reply Reply Quote 0
      • jkandasaJ Offline
        jkandasa @fsgrazzutti
        last edited by

        Hi @fsgrazzutti, can you try with https://playground.arduino.cc/Code/SimpleTimer/?
        Please note this library support available only in MyController v1.

        F 1 Reply Last reply Reply Quote 0
        • F Offline
          fsgrazzutti @jkandasa
          last edited by

          @jkandasa ,
          thanks a lot for the prompt answer.

          Fun fact, this is the library I use, and there's no run() method, but it appears in the example on the page you linked.

          I'm confused now.

          Cheers,
          Franco

          jkandasaJ 1 Reply Last reply Reply Quote 0
          • jkandasaJ Offline
            jkandasa @fsgrazzutti
            last edited by

            @fsgrazzutti download the library from https://github.com/schinken/SimpleTimer

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

            0

            Online

            587

            Users

            529

            Topics

            3.4k

            Posts
            Copyright © 2015-2025 MyController.org | Contributors | Localization