devel Digest, Vol 40, Issue 14

Thanks Laurent, I’ve another question about Arduino on Riot. How can i add third-part libraries in my arduino-riot project? I tried to add the DHT library (.h , .cpp) to Rito/sys/Arduino/include/ but it depends on Arduino.h and the compile process gives me back an error about it (library not found). There is a way to specify in the Makefile the path of Arduino’s libraries to avoid this problem?

thanks and cheers, Alessandro

<alessandro.nicoli@studenti.unipr.it>:

Thanks Laurent, I've another question about Arduino on Riot. How can i add third-part libraries in my arduino-riot project? I tried to add the DHT library (.h , .cpp) to *Rito/sys/Arduino/include/* but it depends on *Arduino.h *and the compile process gives me back an error about it (library not found).

Have you tried include "arduino.hpp" instead ? it is located in sys/arduino/include