Giter Site home page Giter Site logo

cc-arduino-lib's Introduction

Control Chain Arduino Library

Installation

Dependencies

  • Arduino IDE v1.5 or greater
  • TimerOne (required for Arduino Uno)
  • DueTimer (required for Arduino Due)

See here how to install the dependencies libraries using the Library Manager.

This library

Go to releases and download the last version of the ControlChain.zip file. After download it, check this Arduino documentation to see how to import a new library.

Supported boards

This library has been tested only with the Arduino Uno but it should work for most of AVR boards as Mega, Mini, Nano, Ethernet and LilyPad.

It is also possible to use the library with the Arduino Due, however there is a slight change that need to be done on the Arduino's code. See below how to do it.

Fixing Arduino Due code

The fix is necessary because the Arduino core does not allow users to control interruptions by themselves. This library need to control the UART interruption in order to work properly and also to have the code as optimized as possible.

There is an ongoing pull request which add such functionality.

You can check here and manually apply the required changes while the pull request isn't merged to the main stream.

You will find that file in the Arduino installation folder, which depends on the OS you have. Once you find out, the path to the file should be something similar to packages/hardware/sam/1.6.11/variants/arduino_due_x/variant.cpp.

How to use

Once the library is installed, go to File > Examples > Control Chain, choose one of the examples and follow the instructions on the header of the file.

Taken resources (peripherals)

This library make use of the pins 0 to 2, where pins 0 and 1 are used as Serial and pin 2 as digital I/O. Timer 1 is also used by this library.

cc-arduino-lib's People

Contributors

janjhl avatar jesseverhage avatar odurc 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.