Navigation

    • Register
    • Login
    • OpenHardware.io
    • Categories
    • Recent
    • Tags
    • Popular
    1. Home
    2. Ricardo JL Rufino
    • Profile
    • Following
    • Followers
    • Topics
    • Posts
    • Best
    • Groups

    Ricardo JL Rufino

    @Ricardo JL Rufino

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

    Ricardo JL Rufino Follow

    Best posts made by Ricardo JL Rufino

    This user hasn't posted anything yet.

    Latest posts made by Ricardo JL Rufino

    • RE: How to pass the #define for MySensors

      I have found some alternatives that can be used:
      https://electrohobby.ca/forum/showthread.php?tid=214&pid=1281

      posted in Troubleshooting
      Ricardo JL Rufino
      Ricardo JL Rufino
    • RE: How to pass the #define for MySensors

      If I knew it could include cpf in a .h file I had done before ... =]
      Thanks for the tip.

      posted in Troubleshooting
      Ricardo JL Rufino
      Ricardo JL Rufino
    • How to pass the #define for MySensors

      I need to use the same technique in my library but is not working.
      I am using in my config.h

      #ifdef ODEV_API_KEY
      #define ODEV_API_KEY_REAL ODEV_API_KEY
      #endif
      
      #ifndef ODEV_API_KEY
      #define ODEV_API_KEY_REAL "*"
      #endif
      
      const char MQTT_TOPIC[] = ODEV_API_KEY_REAL "/in/ModuleName";
      
      

      If I put a #error at first condiftion, it really indicates is falling in this first condition, but MQTT_TOPIC is as if he had fallen in second

      posted in Troubleshooting
      Ricardo JL Rufino
      Ricardo JL Rufino