Skip to content

Please add library Timing #7419

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Closed
elhayra opened this issue Apr 5, 2018 · 7 comments
Closed

Please add library Timing #7419

elhayra opened this issue Apr 5, 2018 · 7 comments
Labels
Component: Board/Lib Manager Boards Manager or Library Manager

Comments

@elhayra
Copy link

elhayra commented Apr 5, 2018

github: https://github.com/elhayra/timing
release: https://github.com/elhayra/timing/releases/tag/v1.0


EDIT @per1234 2018-04-07 New repo URLs:


This library contain timing based classes:
Debouncer class
Stopper class
Timer class
Strober class for "playing" led patterns

I think this library will make it much easier and faster to use timers, stoppers etc...
There is a full documentation inside the readme file, and also examples for basic use.

Thanks!

@per1234
Copy link
Collaborator

per1234 commented Apr 5, 2018

Your repository must contain a library.properties file. The format is documented here:
https://github.com/arduino/Arduino/wiki/Arduino-IDE-1.5:-Library-specification#libraryproperties-file-format

After adding that file please create a new tag or release that matches the version value set in your library.properties file.

Once that's complete, please comment here so we know we can continue with adding your library to the Library Manager index.

@per1234 per1234 added Waiting for feedback More information must be provided before we can proceed Component: Board/Lib Manager Boards Manager or Library Manager labels Apr 5, 2018
@elhayra
Copy link
Author

elhayra commented Apr 7, 2018

I decided to split the library into small libraries, since each class is meant to do different type of work.
I added library.properties to each as you requested.
Those are the links for the libraries:
Strober:
github: https://github.com/elhayra/Strober
release: https://github.com/elhayra/Strober/releases/tag/v1.0.0

SandTimer:
github: https://github.com/elhayra/SandTimer
release: https://github.com/elhayra/SandTimer/releases/tag/V1.0.0

MilliStopper:
github: https://github.com/elhayra/MilliStopper
release: https://github.com/elhayra/MilliStopper/releases/tag/v1.0.0

@per1234
Copy link
Collaborator

per1234 commented Apr 7, 2018

There's an issue with your Strober library: The library.properties name field is set to SandTimer, which will conflict with the name of your SandTimer library. Please update the file (note the url and includes fields also have the SandTimer info) and then redo the tag or create a new one, then comment here so we know we can proceed.

@elhayra
Copy link
Author

elhayra commented Apr 8, 2018

Sorry for that. Must be a copy-paste error.
I fixed it, and created a new tag:
https://github.com/elhayra/Strober/releases/tag/V1.0.1

@per1234 per1234 removed the Waiting for feedback More information must be provided before we can proceed label Apr 8, 2018
@cmaglie
Copy link
Member

cmaglie commented Apr 9, 2018

Done

@cmaglie cmaglie closed this as completed Apr 9, 2018
@elhayra
Copy link
Author

elhayra commented Apr 14, 2018

Where can I see my library on Arduino website? I looked here and coudn't find it

@per1234
Copy link
Collaborator

per1234 commented Apr 15, 2018

@elhayra your request was interpreted as you wanting your libraries to be added to the Arduino Library Manager index. That allows people to easily find/install/update your libraries via the Arduino IDE's Sketch > Include Library > Manage Libraries. More information here:
https://www.arduino.cc/en/Guide/Libraries#toc3

Your library won't ever appear on the Library List page on the Arduino website. That is not a service Arduino offers for 3rd party libraries. There are some contributed libraries listed on that page but they are terribly outdated and need to be removed, rather than adding more.

It is in the Library Manager index JSON file:
http://downloads.arduino.cc/libraries/library_index.json
You are welcome to add it to the library list on the Arduino Playground if you like:
https://playground.arduino.cc/Main/LibraryList
The Arduino Playground is a publicly editable wiki. You just need to sign in/sign up for your Arduino account and then you will see an "edit" link at the top of that page. When you click the "edit" link you will arrive at a password input page but the password is pre-filled so you only need to do the captcha and then click the "Submit" button and you'll arrive at the editing page.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Component: Board/Lib Manager Boards Manager or Library Manager
Projects
None yet
Development

No branches or pull requests

3 participants