adafruit / Adafruit_nRF8001

Drivers for Adafruit's nRF8001 Bluetooth Low Energy Breakout
109 stars 53 forks source link

Convert the library to a proper Arduino Library #10

Closed jbdatko closed 1 year ago

jbdatko commented 9 years ago

This library is great, but it wasn't in the proper Arduino Library format. This PR fixes that and when installed, it shows up properly under "import library" and the examples show up under "examples."

The PR looks big, but it's mostly whitespace changes and moving files around in the proper place.

BTW, (you probably already know this), if you just clone this repo to ../Arduino/libraries it'll automatically install properly. At least it does on a Mac with Arduino IDE 1.5.8. (It may complain about the .git folder, but it's superficial).

ladyada commented 9 years ago

hiya we have a plan for doing this to all our libraries - but as right now it's still backwards compatible and you can also clone it into libraries (we do this which is why all our repo's are the same structure) - we may take a bit to merge this in

jbdatko commented 9 years ago

No worries. I made the change for myself and then figured I'd share it. Thanks for making the library!

On Dec 30, 2014, at 11:03 AM, ladyada notifications@github.com wrote:

hiya we have a plan for doing this to all our libraries - but as right now it's still backwards compatible and you can also clone it into libraries (we do this which is why all our repo's are the same structure) - we may take a bit to merge this in

— Reply to this email directly or view it on GitHub.