Coder Social home page Coder Social logo

firmata-spark's Introduction

spark

Firmata for Spark

##Install (Web IDE)

  • Go to Spark Web IDE https://spark.io/build
  • Create a new sketch and copy in examples/StandardFirmata/StandardFirmata.ino
  • Click the plus button in the upper right corner to add the Firmata.h, Firmata.cpp, and Boards.h
  • Click the Flash lightning bolt in the upper left corner.

##Install (Spark CLI tools)

  • Download core-firmware.bin from this repo's release folder
  • Log in to https://www.spark.io/build
  • Click cores in the bottom left corner
  • In the white box that slides out, find the name of your spark and click the down arrow to reveal the core id
  • Make sure your core is connected and updated and breathing Cyan. See http://docs.spark.io/ for more info
  • Install the spark command line tools npm install -g spark-cli
  • Login with spark cloud login
  • Flash the firmware spark cloud flash YOURCOREIDHERE core-firmware.bin

##Install (Arm Toolchain - HARD)

  • Follow the directions at the Spark github page to get your toolchain set up. https://github.com/spark/core-firmware
  • Make sure you can burn their Tinker example successfully.
  • From this repo add .h files to your /inc dir and .cpp files to your /src directory
  • From this repo copy examples/StandardFirmata/StandardFirmata.ino over your /src/application.cpp file
  • Add CPPSRC += $(TARGET_SRC_PATH)/Firmata.cpp to your /src/build.mk file
  • Build just like you learned in the Spark tutorial

##TODO

##Gotchas

firmata-spark's People

Contributors

jacobrosenthal avatar soundanalogous avatar

Watchers

 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.