Skip to content
  • MySensors
  • OpenHardware.io
  • Categories
  • Recent
  • Tags
  • Popular
Skins
  • Light
  • Brite
  • Cerulean
  • Cosmo
  • Flatly
  • Journal
  • Litera
  • Lumen
  • Lux
  • Materia
  • Minty
  • Morph
  • Pulse
  • Sandstone
  • Simplex
  • Sketchy
  • Spacelab
  • United
  • Yeti
  • Zephyr
  • Dark
  • Cyborg
  • Darkly
  • Quartz
  • Slate
  • Solar
  • Superhero
  • Vapor

  • Default (No Skin)
  • No Skin
Collapse
Brand Logo
  1. Home
  2. Troubleshooting
  3. Error compiling serial gateway. Please help.

Error compiling serial gateway. Please help.

Scheduled Pinned Locked Moved Troubleshooting
4 Posts 2 Posters 2.2k Views 2 Watching
  • 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 Offline
    T Offline
    tjay4x4
    wrote on last edited by
    #1

    Have anyone problem with compiling serial gateway? Everything works fine before I try to update my serial gw to 1.5 with codebender. So I try to use Arduino Uno, and Arduino nano (witch works on 1.4) It could compiling something like "clear eeprom" or "blink" but when I try to compile gw in shows:

    Looks like your project uses header files or libraries that do not exist in our system, in your personal libraries or in your sketch. More info
    
    In file included from  SerialGateway.ino:26:
    libraries/28475_cb_personal_lib_MySensors/MyGateway.h:39:28: error: use of undeclared identifier 'DEFAULT_CE_PIN'
                    MyGateway(uint8_t _cepin=DEFAULT_CE_PIN, uint8_t _cspin=DEFAULT_CS_PIN, uint8_t _inclusion_time = 1, uint8_t _inclusion_pin = 3, uint8_t _rx=6, uint8_t _tx=5, uint8_t _er=4);
                                             ^
    libraries/28475_cb_personal_lib_MySensors/MyGateway.h:39:59: error: use of undeclared identifier 'DEFAULT_CS_PIN'
                    MyGateway(uint8_t _cepin=DEFAULT_CE_PIN, uint8_t _cspin=DEFAULT_CS_PIN, uint8_t _inclusion_time = 1, uint8_t _inclusion_pin = 3, uint8_t _rx=6, uint8_t _tx=5, uint8_t _er=4);
                                                                            ^
     SerialGateway.ino:33:14: error: use of undeclared identifier 'DEFAULT_CE_PIN'
    MyGateway gw(DEFAULT_CE_PIN, DEFAULT_CS_PIN, INCLUSION_MODE_TIME, INCLUSION_MODE_PIN,  6, 5, 4);
                 ^
    3 errors generated.
    

    And with 1.5 i have:
    2015-08-08 17-53-34 Скриншот экрана.png

    So, what i doing wrong?

    1 Reply Last reply
    0
    • SparkmanS Offline
      SparkmanS Offline
      Sparkman
      Hero Member
      wrote on last edited by
      #2

      Did you delete the 1.4 libraries?

      Cheers
      Al

      1 Reply Last reply
      0
      • T Offline
        T Offline
        tjay4x4
        wrote on last edited by
        #3

        It all started with the setting up of separate Arduino Uno as a serial gateway but now I've managed to reinstall Chrome, restarted "Getstarted" on codebender.cc when connected to the computer working 1.4 serial arduino nano. Now my ex-serial gateway 1.4 only Blinking. :) And Vera is hanging without a controller. And I cant compile old or new serial gw!
        Alsow I try to install IDE from arduino site but it has the same problem even before installing from codebender.
        How to install Mysensor libraries to codebender? Or it more easy to make a new accaunt?

        1 Reply Last reply
        0
        • T Offline
          T Offline
          tjay4x4
          wrote on last edited by
          #4

          Ha! It's solved by deliting Mysensors from Personal Libraries on codebender.cc and Cloning Sketch&Libraries.
          Thaks Sparkman for Idea!

          1 Reply Last reply
          1
          Reply
          • Reply as topic
          Log in to reply
          • Oldest to Newest
          • Newest to Oldest
          • Most Votes


          12

          Online

          11.7k

          Users

          11.2k

          Topics

          113.1k

          Posts


          Copyright 2025 TBD   |   Forum Guidelines   |   Privacy Policy   |   Terms of Service
          • Login

          • Don't have an account? Register

          • Login or register to search.
          • First post
            Last post
          0
          • MySensors
          • OpenHardware.io
          • Categories
          • Recent
          • Tags
          • Popular