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

Compiler error due to SimpleTimer library

Scheduled Pinned Locked Moved MyControllerDevice (ESP8266)
4 Posts 2 Posters 980 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 30 Dec 2021, 08:39

    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

    J 1 Reply Last reply 30 Dec 2021, 10:20 Reply Quote 0
    • J Offline
      jkandasa @fsgrazzutti
      last edited by 30 Dec 2021, 10:20

      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 30 Dec 2021, 12:00 Reply Quote 0
      • F Offline
        fsgrazzutti @jkandasa
        last edited by 30 Dec 2021, 12:00

        @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

        J 1 Reply Last reply 30 Dec 2021, 17:20 Reply Quote 0
        • J Offline
          jkandasa @fsgrazzutti
          last edited by 30 Dec 2021, 17:20

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

          1 Reply Last reply Reply Quote 0
          3 out of 4
          • First post
            3/4
            Last post

          0

          Online

          589

          Users

          529

          Topics

          3.4k

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