ladislas / Bare-Arduino-Project

Start your Arduino projects right out of the box
MIT License
565 stars 68 forks source link

libraries import #44

Closed clement91190 closed 7 years ago

clement91190 commented 7 years ago

Hi,

I'm trying to import the ros_lib libraries. It seems the libraries import works only if the name of the header is the name of the folder (ie the name of the lib). Is there a fix for this ?

ladislas commented 7 years ago

It seems the libraries import works only if the name of the header is the name of the folder (ie the name of the lib)

yes, that's how it works

Is there a fix for this?

besides renaming the things, no. you can also use a main header with the name of the folder where you include everything else, as explained here: https://github.com/ladislas/Bare-Arduino-Project/issues/34#issuecomment-275864903