Viewing 2 posts - 1 through 2 (of 2 total)
  • Author
  • #4627

    HI @ all!

    Question: I´m just a t the beginning of making my own sensor network for my house. I´m experimenting with the mysensors network and want to use the lowpower library.
    When I implement the lowpower and rund the compile I get this error message which I guess means, that two libraries are using the same variable declaration?

    C:\Program Files (x86)\Arduino\libraries\LowPower/LowPower.h:4:6: error: multiple definition of ‘enum period_t’
    enum period_t
    In file included from C:\Program Files (x86)\Arduino\libraries\MySensors/MySensor.h:48:0,
    from C:\Users\Keith\Documents\Arduino\DHT_rf_test\HumiditySensor_id1\HumiditySensor_id1.ino:33:
    C:\Program Files (x86)\Arduino\libraries\MySensors/MyHwATMega328.h:82:6: error: previous definition here
    enum period_t

    Or am I getting something wrong?
    Any ideas?



    There seems to be same definition used in the MyHwATMega328.h which is also defined in LowPower.h.
    I’m not familiar with mysensors, but if you can change that enum naming in MyHwATMega328.h file into something else, that would solve the problem.

Viewing 2 posts - 1 through 2 (of 2 total)
  • You must be logged in to reply to this topic.