Giter Site home page Giter Site logo

circuito.io-magnetic_door_switch_set's Introduction

About circuito.io

circuito.io is a service for makers - It automatically generates wiring instructions and code for different combinations of hardware used in electronic projects.

The user selects the components they want to use in their project, and gets a complete BoM including every auxiliary component they may need, a step by step guide on how to connect everything, and a custom code with the basic driver for each component.

What are we doing on Github?

Our main magic is to generate on the fly the detailed instructions for wiring components to one another, based on their electrical requirements.

Our community magic is to help our users code for those components by providing libraries and code samples to start with.

No matter how hard we try, we won't be able to generate all possible example of libraries and code in advance - as the possibilities & applications are endless.

Therefore, we're calling out to you to share your libraries, and code built for components with the community of circuito.io, and enjoy samples contributed by others.

Find Help & Help Others build cool electronics projects!

Using Contributed Test Code:

If the component you want to use is missing the code for testing, the following steps will help you fill in the missing code:

  1. Go to circuito.io-component_name.
  2. Clone or download the repository.
  3. Now, navigate to the relevant board folder controller/Firmware.e.g. Arduino.
  4. If a code and/or libraries were contributed, you will see them in this folder.
Case #1: Use Firmware.ino for testing single component:
  1. Open the Firmware.ino with your Arduino IDE.
  2. Upload to board.
  3. Make sure the pin number definitions are correct.
Case #2 : Add code snippet to Firmware.ino downloaded from circuito.io app:
  1. Copy the library files from the repository into your Firmware folder, downloaded from circuito.io app.

Download

  1. Open the Firmware.ino you've downloaded from the repository and copy section by section to its corresponding section in the Firmware provided in the zip by the circuito.io app.

Copy paste

Enjoy! :)

Contributing Code:

The code to be contributed will serve other users looking for code, and also our circuito.io engine to generate the code automatically in the future.

In order to contribute your code and libraries:
  1. In the chosen component repository, go to the relevant controller library. Currently only Arduino is available.
  2. Please read the license in the library before you proceed with contribution.
  3. Contribute library files: place all the *.h and *.cpp files inside if such exist.
  4. Contribute snippet test code:
    • Each component has an empty Firmware.ino template. It contains a main structure of an Arduino code and pin definitions of the component. Please do not change the declared PIN name. you can change the value if necessary. You can change the assigned pin number if necessary.
    • The Firmware.ino contains several sections to be filled:
      1. Include libraries
      2. Global variables and defines
      3. Object initialization- declare component instance if necessary.
      4. Setup - setup snippet for the component
      5. Test code - inside loop()
    • Keep in mind that this code is processed by the circuito.io engine. Only edit lines within specified code blocks, other changes will be discarded.
    • Send us a pull-request.

Thank you! :)

circuito.io-magnetic_door_switch_set's People

Contributors

merlin04 avatar robohad avatar

Watchers

 avatar  avatar  avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.