redbasecap / Stepper_28BYJ-48_with_ULN2003_Driver_Libary

This libary let's you easy drive your stepper in WaveDrive, Fullstep and Halfstep. Enjoy! This is a libary for the 28BYJ-48 stepper motor with the ULN2003 driver module. With this you can run your stepper motor in the Wavedrive(fast__512steps/360degree), the Fullstep(fast__512steps/360degree, double the torque compared to Wavedrive) and Halfstep(slow__1024steps/360degree, double the torque compared to Wavedrive) method. It makes it much easier for beginners to use this stepper motor. Credtis to Bret Stateham. His video about stepper motors is great! https://www.youtube.com/watch?v=B86nqDRskVU

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Repository can't directly be used as library

leah-u opened this issue · comments

If you rename the repository so it doesn't begin with a number and move the library files to the top directory, it will be possible to clone the repository directly into the Arduino libraries folder.

With Arduino IDE 1.8.4 and newer, library folders are allowed to start with a number:
arduino/Arduino@4545283
So you need to test with Arduino IDE 1.8.3 or older to see the problem that would be caused by leaving the repository name as-is.

I agree that it's best to store the library in the root of the repository. In addition to the advantage @fulmsch already mentioned, there are a couple others that are even more important to the average Arduino user:

  • Allows installing the library in the Arduino IDE from the .zip file download of the repository via Sketch > Include Library > Add .ZIP Library.
  • Allows inclusion in the Arduino Library Manager index. This provides an even easier installation via Sketch > Include Library > Manage Libraries and a much easier way to update the library to new versions.

I fixed this problem, and thanks to fulmsch for the pullrequest!

With Arduino IDE 1.8.4 and newer, library folders are allowed to start with a number:
arduino/Arduino@4545283
So you need to test with Arduino IDE 1.8.3 or older to see the problem that would be caused by leaving the repository name as-is.

I agree that it's best to store the library in the root of the repository. In addition to the advantage @fulmsch already mentioned, there are a couple others that are even more important to the average Arduino user:

* Allows installing the library in the Arduino IDE from the .zip file download of the repository via **Sketch > Include Library > Add .ZIP Library**.

* Allows inclusion in the [Arduino Library Manager index](https://github.com/arduino/Arduino/wiki/Library-Manager-FAQ). This provides an even easier installation via **Sketch > Include Library > Manage Libraries** and a much easier way to update the library to new versions.

Thanks for your comment, the libary is now improved to use.
Greetins redbasecap