Coder Social home page Coder Social logo

rsjudge17 / arduino-5 Goto Github PK

View Code? Open in Web Editor NEW

This project forked from aoabook/arduino

0.0 2.0 0.0 191 KB

This is all the Arduino code for the book in a single repository, unlike the Java code, the Arduino one is very compact, and it would make little sense to separate it in different repositories. It also includes the libraries used for the projects.

Arduino 22.91% C++ 49.97% C 21.01% Objective-C 4.83% Processing 1.28%

arduino-5's Introduction

Arduino

This is all the Arduino code for the book in a single repository, unlike the Java code, the Arduino one is very compact, and it would make little sense to separate it in different repositories. It also includes the libraries used for the projects.

Materials

There are a series of examples, mostly the full listings for the book plus a couple of debug tools we used while writing it. On top of that there are three libraries: the USB Host library, based on the one published on the Arduino website; the P2PMQTT one, our own way to get a minimal communication protocol to send data between devices in a broker free infrastructure; and a library to control long lines of LEDs strongly based on one by Adafruit Industries (thanks Limor!).

Author/s

This code was written by Andreas G�ransson and David Cuartielles for a book called Android Open Accessory Programming with Arduino.

Getting the source...

  1. Clone this repository to your development machine
  2. Unzip it in your Arduino sketchbook, so that your libraries will end up at the right level
  3. Boot the IDE and browse the code inside your sketchbook that should now be including all the examples

If there are compilation errors

  1. Check the error and send us a report on GitHub, if you debugged it yourself, please send us a pull request
  2. Be patient, we will put our brain power at the service of your curiosity!

This code is compatible with Arduino's IDE v1.0 and newer

Adding P2PMQTT to your Project

  1. #include "P2PMQTT.h" the library and make the calls to cofigure the accessory mode

arduino-5's People

Watchers

 avatar James Cloos 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.