Error Compiling
-
all is broken in last version :)
In file included from EnergyMeterPulseSensor.ino:38:0:
/home/andrej/sketchbook/libraries/MySensors/MySensor.h:158:70: error: expected type-specifier before ‘MyHwDriver’
MySensor(MyTransport &radio =*new MyTransportNRF24(), MyHw &hw=*new MyHwDriver()
^
EnergyMeterPulseSensor.ino:47:10: error: call to ‘MySensor::MySensor(MyTransport&, MyHw&)’ uses the default argument for parameter 2, which is not yet defined
In file included from DallasTemperatureSensor.ino:27:0:
/home/andrej/sketchbook/libraries/MySensors/MySensor.h:158:70: error: expected type-specifier before ‘MyHwDriver’
MySensor(MyTransport &radio =*new MyTransportNRF24(), MyHw &hw=*new MyHwDriver()
^
DallasTemperatureSensor.ino:39:10: error: call to ‘MySensor::MySensor(MyTransport&, MyHw&)’ uses the default argument for parameter 2, which is not yet defined -
I am trying to compile the SerialGateway.ino example and keep getting the same error
MySensors/MySensor.h:158:70: error: expected type-specifier before ‘MyHwDriver’
MySensor(MyTransport &radio =*new MyTransportNRF24(), MyHw &hw=*new MyHwDriver()I am using the arduino ide and downloaded the 1.5 version of the library. With the 1.4 version it compiles ok, but i want to create a serial gateway with RFM69 Radio
I appreciate the help, i am new to this and i am discovering.
Thanks -
I am trying to compile the SerialGateway.ino example and keep getting the same error
MySensors/MySensor.h:158:70: error: expected type-specifier before ‘MyHwDriver’
MySensor(MyTransport &radio =*new MyTransportNRF24(), MyHw &hw=*new MyHwDriver()I am using the arduino ide and downloaded the 1.5 version of the library. With the 1.4 version it compiles ok, but i want to create a serial gateway with RFM69 Radio
I appreciate the help, i am new to this and i am discovering.
Thanks@ampmendes Did you delete all 1.4 libraries before loading the 1.5 ones and then restarting the IDE? These types of errors are typically caused by having mutliple files with the same name.
Cheers
Al -
@ampmendes Did you delete all 1.4 libraries before loading the 1.5 ones and then restarting the IDE? These types of errors are typically caused by having mutliple files with the same name.
Cheers
Al
Hello! It looks like you're interested in this conversation, but you don't have an account yet.
Getting fed up of having to scroll through the same posts each visit? When you register for an account, you'll always come back to exactly where you were before, and choose to be notified of new replies (either via email, or push notification). You'll also be able to save bookmarks and upvote posts to show your appreciation to other community members.
With your input, this post could be even better 💗
Register Login