forked from GraniteDevices/SimpleMotionV2
-
-
Notifications
You must be signed in to change notification settings - Fork 1
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
2b30c60
commit 2c5714b
Showing
15 changed files
with
432 additions
and
37 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,49 @@ | ||
Thank you for opening an issue on SimpleMotionV2-Arduino library repository. To | ||
improve the speed of resolution please review the following guidelines and | ||
common troubleshooting steps below before creating the issue: | ||
|
||
- **Do not use GitHub issues for troubleshooting projects and issues.** Instead use | ||
the forums at https://forum.arduino.cc/ to ask questions and troubleshoot why | ||
something isn't working as expected. In many cases the problem is a common issue | ||
that you will more quickly receive help from the forum community. GitHub issues | ||
are meant for known defects in the code. If you don't know if there is a defect | ||
in the code then start with troubleshooting on the forum first. | ||
|
||
- **If following a tutorial or guide be sure you didn't miss a step.** Carefully | ||
check all of the steps and commands to run have been followed. Consult the | ||
forum if you're unsure or have questions about steps in a guide/tutorial. | ||
|
||
- **For Arduino projects check these very common issues to ensure they don't apply**: | ||
|
||
- For uploading sketches or communicating with the board make sure you're using | ||
a **USB data cable** and **not** a **USB charge-only cable**. It is sometimes | ||
very hard to tell the difference between a data and charge cable! Try using the | ||
cable with other devices or swapping to another cable to confirm it is not | ||
the problem. | ||
|
||
- **Be sure you are supplying adequate power to the board.** Check the specs of | ||
your board and plug in an external power supply. In many cases just | ||
plugging a board into your computer is not enough to power it and other | ||
peripherals. | ||
|
||
- **Double check all soldering joints and connections.** Flakey connections | ||
cause many mysterious problems. See the [guide to excellent soldering](https://learn.adafruit.com/adafruit-guide-excellent-soldering/tools) for examples of good solder joints. | ||
|
||
- **Ensure you are using an official Arduino board.** We can't | ||
guarantee a clone board will have the same functionality and work as expected | ||
with this code and don't support them. | ||
|
||
If you're sure this issue is a defect in the code and checked the steps above | ||
please fill in the following fields to provide enough troubleshooting information. | ||
You may delete the guideline and text above to just leave the following details: | ||
|
||
- Arduino board: **INSERT ARDUINO BOARD NAME/TYPE HERE** | ||
|
||
- Arduino IDE version (found in Arduino -> About Arduino menu): **INSERT ARDUINO | ||
VERSION HERE** | ||
|
||
- PlatformIO Core version, if you use PlatformIO (found in VS Code tab): **INSERT | ||
PLATFORMIO CORE VERSION HERE** | ||
|
||
- List the steps to reproduce the problem below (if possible attach a sketch or | ||
copy the sketch code in too): **LIST REPRO STEPS BELOW** |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,20 @@ | ||
--- | ||
name: Feature request | ||
about: Suggest an idea for this project | ||
title: '' | ||
labels: '' | ||
assignees: '' | ||
|
||
--- | ||
|
||
**Is your feature request related to a problem? Please describe.** | ||
A clear and concise description of what the problem is. Ex. I'm always frustrated when [...] | ||
|
||
**Describe the solution you'd like** | ||
A clear and concise description of what you want to happen. | ||
|
||
**Describe alternatives you've considered** | ||
A clear and concise description of any alternative solutions or features you've considered. | ||
|
||
**Additional context** | ||
Add any other context or screenshots about the feature request here. |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,21 @@ | ||
Thank you for creating a pull request to contribute to SimpleMotionV2-Arduino GitHub code! | ||
Before you open the request please review the following guidelines and tips to | ||
help it be more easily integrated: | ||
|
||
- **Describe the scope of your change--i.e. what the change does and what parts | ||
of the code were modified.** This will help us understand any risks of integrating | ||
the code. | ||
|
||
- **Describe any known limitations with your change.** For example if the change | ||
doesn't apply to a supported platform of the library please mention it. | ||
|
||
- **Please run any tests or examples that can exercise your modified code.** We | ||
strive to not break users of the code and running tests/examples helps with this | ||
process. | ||
|
||
Thank you again for contributing! We will try to test and integrate the change | ||
as soon as we can, but be aware we have many GitHub repositories to manage and | ||
can't immediately respond to every request. There is no need to bump or check in | ||
on a pull request (it will clutter the discussion of the request). | ||
|
||
After reviewing the guidelines above you can delete this text from the pull request. |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,76 @@ | ||
# Contributor Covenant Code of Conduct | ||
|
||
## Our Pledge | ||
|
||
In the interest of fostering an open and welcoming environment, we as | ||
contributors and maintainers pledge to making participation in our project and | ||
our community a harassment-free experience for everyone, regardless of age, body | ||
size, disability, ethnicity, sex characteristics, gender identity and expression, | ||
level of experience, education, socio-economic status, nationality, personal | ||
appearance, race, religion, or sexual identity and orientation. | ||
|
||
## Our Standards | ||
|
||
Examples of behavior that contributes to creating a positive environment | ||
include: | ||
|
||
* Using welcoming and inclusive language | ||
* Being respectful of differing viewpoints and experiences | ||
* Gracefully accepting constructive criticism | ||
* Focusing on what is best for the community | ||
* Showing empathy towards other community members | ||
|
||
Examples of unacceptable behavior by participants include: | ||
|
||
* The use of sexualized language or imagery and unwelcome sexual attention or | ||
advances | ||
* Trolling, insulting/derogatory comments, and personal or political attacks | ||
* Public or private harassment | ||
* Publishing others' private information, such as a physical or electronic | ||
address, without explicit permission | ||
* Other conduct which could reasonably be considered inappropriate in a | ||
professional setting | ||
|
||
## Our Responsibilities | ||
|
||
Project maintainers are responsible for clarifying the standards of acceptable | ||
behavior and are expected to take appropriate and fair corrective action in | ||
response to any instances of unacceptable behavior. | ||
|
||
Project maintainers have the right and responsibility to remove, edit, or | ||
reject comments, commits, code, wiki edits, issues, and other contributions | ||
that are not aligned to this Code of Conduct, or to ban temporarily or | ||
permanently any contributor for other behaviors that they deem inappropriate, | ||
threatening, offensive, or harmful. | ||
|
||
## Scope | ||
|
||
This Code of Conduct applies both within project spaces and in public spaces | ||
when an individual is representing the project or its community. Examples of | ||
representing a project or community include using an official project e-mail | ||
address, posting via an official social media account, or acting as an appointed | ||
representative at an online or offline event. Representation of a project may be | ||
further defined and clarified by project maintainers. | ||
|
||
## Enforcement | ||
|
||
Instances of abusive, harassing, or otherwise unacceptable behavior may be | ||
reported by contacting the project team at info@jsc-electronics.cz. All | ||
complaints will be reviewed and investigated and will result in a response that | ||
is deemed necessary and appropriate to the circumstances. The project team is | ||
obligated to maintain confidentiality with regard to the reporter of an incident. | ||
Further details of specific enforcement policies may be posted separately. | ||
|
||
Project maintainers who do not follow or enforce the Code of Conduct in good | ||
faith may face temporary or permanent repercussions as determined by other | ||
members of the project's leadership. | ||
|
||
## Attribution | ||
|
||
This Code of Conduct is adapted from the [Contributor Covenant][homepage], version 1.4, | ||
available at https://www.contributor-covenant.org/version/1/4/code-of-conduct.html | ||
|
||
[homepage]: https://www.contributor-covenant.org | ||
|
||
For answers to common questions about this code of conduct, see | ||
https://www.contributor-covenant.org/faq |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,59 @@ | ||
# Contributing Rules | ||
Thanks for your interest in contributing to this free open source project! We appreciate any help from the community. | ||
|
||
## Issues | ||
- Do you need help or have a question about using Arduino? Support requests should be made to the appropriate section of the [Arduino forum](http://forum.arduino.cc) rather than an issue report. **Issue reports are to be used to report bugs or make feature requests only.** | ||
- Search [existing pull requests and issues](https://github.com/JSC-electronics/SimpleMotionV2-Arduino/issues?q=) to be sure it hasn't already been reported. If you have additional information to provide about an existing issue then please comment on that issue. | ||
- State the newest version of the Arduino IDE you have verified the issue with and which operating system you are using. | ||
- If you are using this library on PlatformIO, report version of PlatformIO Core and which operating system you are using. | ||
- The issue title should be concise yet descriptive. Vague titles make it difficult to know the purpose of the issue when looking through the list of reports and may cause your issue to not be given proper attention. | ||
- Describe the issue and what behavior you were expecting. Post complete error messages using [Markdown code fencing](https://guides.github.com/features/mastering-markdown/#examples). | ||
- Provide a full set of steps necessary to reproduce the issue. Demonstration code should be complete, correct, and simplified to the minimum amount of code necessary to reproduce the issue. Please use [Markdown code fencing](https://guides.github.com/features/mastering-markdown/#examples) when posting code. | ||
- Be responsive. We may need you to provide more information, please respond as soon as possible. | ||
- If you find a solution to your problem update your issue report with an explanation of how you were able to fix it and close the issue. | ||
|
||
## Pull Requests | ||
- Search [existing pull requests](https://github.com/JSC-electronics/SimpleMotionV2-Arduino/pulls?q=) to see if one has already been submitted for this change. Search the [issues](https://github.com/JSC-electronics/SimpleMotionV2-Arduino/issues?q=is%3Aissue) to see if there has been a discussion on this topic and whether your pull request can close any issues. | ||
- Code formatting should be consistent with the style used in the existing code. | ||
- Don't leave commented out code. A record of this code is already preserved in the commit history. | ||
- All commits must be atomic. This means that the commit completely accomplishes a single task. Each commit should result in fully functional code. Multiple tasks should not be combined in a single commit, but a single task should not be split over multiple commits (e.g. one commit per file modified is not a good practice). For more information see http://www.freshconsulting.com/atomic-commits. | ||
- Each pull request should address a single bug fix or enhancement. This may consist of multiple commits. If you have multiple, unrelated fixes or enhancements to contribute, submit them as separate pull requests. | ||
- Commit messages: | ||
- Use the [imperative mood](http://chris.beams.io/posts/git-commit/#imperative) in the title. For example: "Apply editor indent preference" | ||
- Do not end the title with a period. | ||
- Separate title from the body with a blank line. If you're committing via GitHub or GitHub Desktop this will be done automatically. | ||
- Completely explain the purpose of the commit. Include a rationale for the change, any caveats, side-effects, etc. | ||
- If your pull request fixes an issue in the issue tracker, use the [closes/fixes/resolves syntax](https://help.github.com/articles/closing-issues-via-commit-messages) in the body to indicate this. | ||
- See http://chris.beams.io/posts/git-commit for more tips on writing good commit messages. | ||
- Pull request title and description should follow the same guidelines as commit messages. | ||
- Rebasing pull requests is OK and encouraged. After submitting your pull request some changes may be requested. Rather than adding unnecessary extra commits to the pull request, you can squash these changes into the existing commit and then do a force push to your fork. When you do a force push to your fork, the PR will be updated with your new changes, so there is no need to open a new PR to make changes. Leave a comment on the pull request thread to explain that the history has been changed. This will help to keep the commit history of the repository clean. | ||
- Make sure your change does not break existing unit tests (see below for more details). | ||
- After your pull request is merged please update the documentation if the changes require it: | ||
- Edit appropriate [Wiki pages](https://github.com/JSC-electronics/SimpleMotionV2-Arduino/wiki). | ||
|
||
## Testing the code | ||
This library uses [Arduino CI](https://github.com/ianfixes/arduino_ci) as a unit test framework. When you create a pull request, your code will be tested against existing test cases. Sometimes it may be useful to test the code locally to save time. Please follow the instructions on Arduino CI page. | ||
|
||
### Requirements | ||
Requirements to build and run the unit tests: | ||
- (Optional) Install [RVM](http://rvm.io/) | ||
- Ruby version 2.2 or higher | ||
- Bundler gem (install with `gem install bundler`) | ||
|
||
### Setup | ||
Clone SimpleMotionV2-Arduino git repository: | ||
```bash | ||
git clone git@github.com:JSC-electronics/SimpleMotionV2-Arduino.git | ||
``` | ||
|
||
Install Ruby dependencies: | ||
```bash | ||
bundle install | ||
``` | ||
|
||
Run automated tests: | ||
```bash | ||
bundle exec arduino_ci_remote.rb | ||
``` | ||
|
||
Please check full [reference](https://github.com/ianfixes/arduino_ci/blob/master/REFERENCE.md) for more options, including running only selected tests. |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,2 @@ | ||
source 'https://rubygems.org' | ||
gem 'arduino_ci' |
Oops, something went wrong.