i have the Rasp. Pi3 mod. B with Kit GrovePi+ and im writing with c++.
Seems there is a problem when i try to use the grove_dht_pro & grove_rgb_lcd in
a single programm. The header files override each other so i can only use one
device in a programm.
Apart from this small example, I’ve also compiled the rest of example programs in the Software/Cpp folder of the GrovePi repo and I haven’t had any problems.
This tells me you:
Haven’t installed the package and you’re compiling as if you have the package installed.
Or that you have installed the package but you’re not compiling the code right.
In either case, you have to follow the instructions provided in our repo as they explain how a program has to be compiled.
So, please read the README provided on the following GitHub page:
If there are any other questions regarding this topic, please feel free to tell us.
hi lucian, thx for your reply(s),
i copied the code of the header files into a single header file and removed the
"#ifndef" and “#endif” in both. … perhaps namespaces proplem or so, but i think
its SOLVED!