Giter Site home page Giter Site logo

jewelbots-autodev's Introduction

jewelbots-autodev

A cli tool for compiling and uploading sketches for Jewelbots

looking for alpha testers please ๐Ÿ’–

How to install

Firstly, install the latest Arduino IDE. You do not have to have it open at all while using this tool.

Then:

npm install -g jewelbots-autodev

How to use

1. Create a JSON config file in your project directory's root, and save it as .jbauto

The config file needs to know four things:

  1. The path to the Jewelbots Arduino Library on your machine
  2. The location of the Arduino IDE on your machine
  3. Which directory you want the compiled files to be placed
  4. The path and filename of the sketch you're looking to compile

OSX Example:

{
  "jewelbots-lib": "/Users/noopkat/Library/Arduino15/packages/Jewelbots_Arduino_Library",
  "arduino-app": "/Applications/Arduino-1.6.13.app",
  "build-destination": "/Users/noopkat/code/jewelbots-fun/dist",
  "sketch-file": "/Users/noopkat/code/jewelbots-fun/sketches/blue.ino"
}

Windows config example coming soon!

2. Run jewelbots-autodev from your project's directory

To compile:

jewelbots-autodev compile

You can also override the sketch-file property in .jbauto by specifying it as such:

jewelbots-autodev compile /path/to/my/sketch.ino

You can also use a relative path from your current folder.

jewelbots-autodev compile sketch.ino 

To upload:

Plug in your Jewelbot, and hold the action button to put it into coding mode first.

jewelbots-autodev upload

Stuck?

This is early stages! Raise an issue on this project's repo if you hit a bug or weird error, and pull requests are very welcome!

jewelbots-autodev's People

Contributors

noopkat avatar glennblock avatar

Watchers

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