We appreciate your interest in contributing to the "Arduino Codes" repository! We welcome contributions from the community to enhance and expand our collection of Arduino code snippets, which can be valuable for your future IoT development projects.
Please take a moment to review these guidelines before you begin:
Before making any contributions, we kindly request that you read and adhere to our Code of Conduct. We expect all contributors to follow these guidelines to maintain a positive and inclusive community.
-
Start by forking the repository to your personal GitHub account.
-
Clone the repository from your account to your local machine using the following command:
git clone https://github.com/your-username/Arduino-Codes.git
- Create a new branch for your work:
git checkout -b your-branch-name
-
Ensure that your branch is up-to-date with the
main
branch of the original repository. -
If you wish to make changes to the existing code, simply move to the folder and change it.
-
If you wish to contribute a new code snippet, follow these steps:
- Create a folder in the root directory of the name of the sensor or the snippet you wish to implement. The name should be written in
snake_case
. For example, if you want to submit the code implementation for using a touch sensor, your file name can beTouch_sensor
. - Inside this folder, create a file with the same name as the folder name and with a
.ino
extension. - Write your code in this
.ino
file.
-
Edit the
README.md
file and add the link to your file in the Table of Contents. -
Once you've made your additions, save your changes and run the following commands in your terminal:
git add <files you wish to add>
git commit -m "Provide a brief description of your changes here"
git push -u origin branch_name
-
After committing your changes, you're ready to create a pull request.
-
Create a pull request from your branch to the
main
branch of the main repository and request the project maintainer to review your changes. -
Your pull request will be merged once your changes are approved.
We highly appreciate your contributions to the "Arduino Codes" repository. By adhering to these guidelines and collaborating with our community, you're helping us create a valuable resource for developers and learners alike. Together, we can make this repository a central hub for high-quality implementations and explanations of various Arduino projects.
Thank you for your dedication to enhancing this project. Your efforts play a vital role in making "Arduino Codes" a valuable resource for the programming community.
Happy coding!!!